SA-MP Forums Archive
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=506208)



Timer - Ananisiki - 12.04.2014

Why this no work

pawn Код:
new ArmourAbuse[MAX_PLAYERS];

if(tickcount() - ArmourAbuse[playerid] < 180000) return SendClientMessage(playerid, COLOR_RED, please wait.");



Re: Timer - Twizted - 12.04.2014

pawn Код:
new ArmourAbuse[MAX_PLAYERS];

if(tickcount() - ArmourAbuse[playerid] < 180000) return SendClientMessage(playerid, COLOR_RED, "Please wait.");
Now it should work, right? You were missing a " before 'please wait'.


Re: Timer - Ananisiki - 12.04.2014

My bad i deleted it, i have it but its same....


Re: Timer - Ananisiki - 12.04.2014

Bump


Re: Timer - Ananisiki - 13.04.2014

Bump


Re: Timer - Dokins - 13.04.2014

What exactly are you trying to do?


Re: Timer - Ananisiki - 13.04.2014

Trying set timer on command


Re: Timer - Dokins - 13.04.2014

What is ArmourAbuse[playerid] for? What does it store exactly?


Re: Timer - Ananisiki - 13.04.2014

It in a armour command when player type the command he need to wait that amount of time but it no work