SA-MP Forums Archive
Timer for 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)
+--- Thread: Timer for player (/showthread.php?tid=467366)



Timer for player - AnonScripter - 02.10.2013

How to make a timer for only the player, not all players
example:
the player is robbing the ammunation, when he finishes and type /robstore again
SendClientMessage "Please wait while robbing a store again"

i have something, but it fails .example:
playerid = 1 finishes the robbery
playerid = 2 comes to rob the same store, it sends him a client message, "Please wait while rob the store again" -.-


Re: Timer for player - Konstantinos - 02.10.2013

Use SetTimerEx and pass the player's id as an argument.


Re: Timer for player - AnonScripter - 02.10.2013

thank you