killtime for certain player - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: killtime for certain player (
/showthread.php?tid=171366)
killtime for certain player -
LifeStyle - 26.08.2010
As soon this public get activated by a other player ID the timer get's killed and the textdraw won't hide anymore..
I hope someone has a solution
pawn Код:
forward showdraw(playerid,text[]);
public showdraw(playerid,text[])
{
KillTimer(Reset2);
Reset2 = SetTimerEx("HideDraw",6000,false,"d",playerid);
return 1;
}
Re: killtime for certain player -
Voldemort - 26.08.2010
new Reset2[MAX_PLAYERS];
KillTimer(Reset2[playerid]);
Reset2[playerid] = SetTimerEx("HideDraw",6000,false,"d",playerid);
Re: killtime for certain player -
LifeStyle - 26.08.2010
I just done this, i wasn't thinking logical :P, Thanks anyway