[HELP] I need a timer with command
#1

Hello, I need filterscript, which will be every 30 seconds using the command: /startall. I need some Pawner, who created this script, thank you in advance

Sorry for my bad English
Reply
#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
#3

Oh thank
Reply
#4

I'm sorry, you've probably misunderstood me, I need to use the command server itself and not the player.
Reply
#5

hi , you mean command itself working without player type command for example /healme?
Reply
#6

yes, i mean
Reply
#7

Oh ok I'm sorry for wrong understand , check this please https://sampwiki.blast.hk/wiki/SetTimerEx
If you need more info tell us.
Reply
#8

And where is the command ? Example : Every 30 seconds, the player will get $ 10
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)