28.08.2010, 12:20
Hello,
i have a little problem, i use a textdraw to announce some usefull tips. But the textdraw don't go away, I use a Timer. But it will not work.
The Textdraw:
The Function:
Do you guys know why it doesn't work ?
Greetings
Gforcez
i have a little problem, i use a textdraw to announce some usefull tips. But the textdraw don't go away, I use a Timer. But it will not work.
The Textdraw:
Код:
if(pickupid == BankPickup) { TextDrawSetString(msgbox[playerid], "Welcome at the Las Venturas bank~n~use ~r~/deposit ~w~or ~r~/withdraw ~w~to get or put cash on your bank account"); TextDrawShowForPlayer(playerid, msgbox[playerid]); SetTimerEx("DisableMessageBox", 5000, false, "i"); // the timer }
Код:
public DisableMessageBox(playerid) { TextDrawHideForPlayer(playerid, msgbox[playerid]); return 1; }
Greetings
Gforcez