Timer - 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)
+--- Thread: Timer (
/showthread.php?tid=299193)
Timer -
manchestera - 24.11.2011
Ok i useless when it comes to timers but im getting better i just now need some help with removing the textdraw when the timer finishes how do i do this?
Код:
stock Freeze(playerid, time)
{
TogglePlayerControllable(playerid, false);
SetTimerEx("Unfreeze", time, false, "i", playerid);
TextDrawShowForPlayer(playerid, ObjectLoading);
}
Re: Timer -
=WoR=G4M3Ov3r - 24.11.2011
https://sampwiki.blast.hk/wiki/TextDrawHideForAll
Re: Timer -
Pharrel - 24.11.2011
pawn Код:
public Unfreeze(playerid)
{
TextDrawHideForPlayer(playerid, ObjectLoading);
//rest of your public
}
Re: Timer -
manchestera - 24.11.2011
Just realised i had unfreeze im a dumb ass lol thanks Pharrel