Easy Command timer
#4

Код:
new buygun[MAX_PLAYERS];
Top of the script


Under onplayerconnect
Код:
   buygun[playerid] = -5000;
in your CMD
Код:
    if(tickcount() - buygun[playerid] < 5000) return SendClientMessage(playerid, -1, "You must wait 5 seconds before using this command again.");
Reply


Messages In This Thread
Easy Command timer - by elitesae - 02.04.2013, 01:30
Re: Easy Command timer - by SuperViper - 02.04.2013, 02:39
Re: Easy Command timer - by elitesae - 02.04.2013, 02:47
Re: Easy Command timer - by [..MonTaNa..] - 02.04.2013, 02:55
Re: Easy Command timer - by elitesae - 02.04.2013, 03:05
Re: Easy Command timer - by [..MonTaNa..] - 02.04.2013, 03:12
Re: Easy Command timer - by SuperViper - 02.04.2013, 03:23
Re: Easy Command timer - by elitesae - 02.04.2013, 03:24
Re: Easy Command timer - by elitesae - 02.04.2013, 03:26
Re: Easy Command timer - by SuperViper - 02.04.2013, 03:28

Forum Jump:


Users browsing this thread: 1 Guest(s)