SA-MP Forums Archive
SetTimer - 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: SetTimer (/showthread.php?tid=118970)



SetTimer - _Sami_ - 06.01.2010

Hi

Is it possible to disable SetTimer for e.g if the player is jailed so it will set timer of 5 minutes but before unjailing an admin unjailed him . So i want the SetTimer gets disable


Re: SetTimer - Zeex - 06.01.2010

There is KillTimer - https://sampwiki.blast.hk/wiki/KillTimer


Re: SetTimer - [HiC]TheKiller - 06.01.2010

pawn Код:
new Timer;

Timer = SetTimer(BLAHBLAHBLAH);

KillTimer(Timer);



Re: SetTimer - _Sami_ - 06.01.2010

yeah its solved .
need a bit more help
i think its removed in 0.3 .

ResetPlayerWeapons(playerid);
resets player weapons ( after jail,its working in 0.3a)

but there is a place i want to give him his weapons back
"SetPlayerDisabledWeapons"(its not working in 0.3a )
is there any other way to give him his/her weapons back ?