Jump to content
Autentificarea cu Google și Facebook nu mai este disponibilă. ×
  • 0

Problema payday textdraw


Question

Posted (edited)

Salut, am o problema, nu dispare textdraw-ul cand se da payday-ul. 
Ma puteti ajuta va rog? 

Textdraw: 
    PaydayTDS = CreatePlayerTextDraw(playerid, 76.285766, 146.633346, "Ore Jucate: 10~n~PayCheck: $10~n~Bank: $10~n~Tax: $10~n~Rent: $10~n~Total Money: $10");
    PlayerTextDrawLetterSize(playerid, PaydayTDS, 0.227115, 1.060833);
    PlayerTextDrawTextSize(playerid, PaydayTDS, 2.419998, 134.000000);
    PlayerTextDrawAlignment(playerid, PaydayTDS, 2);
    PlayerTextDrawColor(playerid, PaydayTDS, -1);
    PlayerTextDrawUseBox(playerid, PaydayTDS, 1);
    PlayerTextDrawBoxColor(playerid, PaydayTDS, 53);
    PlayerTextDrawSetShadow(playerid, PaydayTDS, 0);
    PlayerTextDrawSetOutline(playerid, PaydayTDS, 1);
    PlayerTextDrawBackgroundColor(playerid, PaydayTDS, 255);
    PlayerTextDrawFont(playerid, PaydayTDS, 2);
    PlayerTextDrawSetProportional(playerid, PaydayTDS, 1);
    PlayerTextDrawSetShadow(playerid, PaydayTDS, 0);


 

    SetTimer("hidePayday", 15000, false);
    return 1;
}

function hidePayday() {
    foreach(Player, i) {
     if(IsPlayerConnected(i) && gPlayerLogged[1] == 1) PlayerTextDrawHide(i, PaydayTDS);
     
    }
    return 1;
}

Cred ca de aici e problema

Edited by EdySt

1 answer to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.