TextDraw help
#8

So you're using it when a player connects?
Then you should use SetTimerEx.
Basically instead of the SetTimer:
pawn Код:
SetTimer("MyPublic", 4000, false, "i", playerid);
"i" - Which format to use, the players ID is a number, so we use an integer (i or d)
playerid - What integer(number) should we pass on? The playerid.
And then the public and forwards parameters should contain "playerid", so you don't need a loop, just hide it for playerid:
pawn Код:
forward MyPublic(playerid); // When creating a public function, you always need to forward it
public MyPublic(playerid) // The public the timer will call, any code under the public will be executed when the timer ends
{
    TextDrawHideForPlayer(playerid, Textdraw0[playerid]); // Hide the textdraw for playerid
}
Reply


Messages In This Thread
TextDraw help - by Bulgaria - 01.04.2015, 14:59
Re: TextDraw help - by CalvinC - 01.04.2015, 15:02
Re: TextDraw help - by Bulgaria - 01.04.2015, 15:03
Re: TextDraw help - by Ritzy2K - 01.04.2015, 15:04
Re: TextDraw help - by Bulgaria - 01.04.2015, 15:09
Re: TextDraw help - by CalvinC - 01.04.2015, 15:24
Re: TextDraw help - by Bulgaria - 01.04.2015, 15:31
Re: TextDraw help - by CalvinC - 01.04.2015, 15:38
Re: TextDraw help - by Bulgaria - 01.04.2015, 15:43
Re: TextDraw help - by CalvinC - 01.04.2015, 15:48

Forum Jump:


Users browsing this thread: 5 Guest(s)