[HELP] I need a timer with command
#2

In the top of your script add
pawn Код:
new WaitTimeForCMD[MAX_PLAYERS];
and in your cmd you want to add timer add this in the top
pawn Код:
if((GetTickCount()-WaitTimeForCMD[playerid])>6000)return SendClientMessage(playerid,-1,"ERROR: Wait 30 seconds to use this CMD again!");
Reply


Messages In This Thread
[HELP] I need a timer with command - by Expert99 - 06.10.2013, 07:28
Re: [HELP] I need a timer with command - by SilentSoul - 06.10.2013, 07:39
Re: [HELP] I need a timer with command - by Expert99 - 06.10.2013, 07:48
Re: [HELP] I need a timer with command - by Expert99 - 06.10.2013, 07:50
Re: [HELP] I need a timer with command - by SilentSoul - 06.10.2013, 07:55
Re: [HELP] I need a timer with command - by Expert99 - 06.10.2013, 08:04
Re: [HELP] I need a timer with command - by SilentSoul - 06.10.2013, 08:11
Re: [HELP] I need a timer with command - by Expert99 - 06.10.2013, 08:44

Forum Jump:


Users browsing this thread: 1 Guest(s)