Timer Probblem
#1

I have a TextDraw When a player connects it sas EXAMPLE: "Park4Bmx Joined The Server"
And then a Timer that closes it.
But the probblem is when 2 players join the server at the same time
The Timer Doesnt work for two of the players ?

CODE
pawn Код:
//on player conn..
GetPlayerName(playerid, pname, sizeof(pname));
format(string, sizeof(string), "~y~%s ~w~has joined the server", pname);
Textdraw30 = TextDrawCreate(22.000000, 111.000000, string);
//So on with the TextDraw.....
SetTimer("HideTextdraw",4000,false);

//then
forward HideTextdraw();
public HideTextdraw()
{
    TextDrawHideForAll(Textdraw30);
    TextDrawDestroy(Textdraw30);
    return 1;
}
Reply


Messages In This Thread
Timer Probblem - by park4bmx - 25.02.2011, 16:44
Re: Timer Probblem - by Jeffry - 25.02.2011, 17:18
Re: Timer Probblem - by park4bmx - 25.02.2011, 18:38
Re: Timer Probblem - by Jeffry - 25.02.2011, 19:07

Forum Jump:


Users browsing this thread: 1 Guest(s)