Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //topo:
- new pSpamTimer[MAX_PLAYERS];
- //no OnPlayerCommandText:
- if(GetTickCount() < pSpamTimer[playerid])
- {
- SendClientMessage(playerid, 0xFFFFFFAA, "SERVER: Um comando a cada 7 segundos!");
- return 1;
- }
- pSpamTimer[playerid] = GetTickCount() + 7000; //7 segundos = 7000 milisegundos
Add Comment
Please, Sign In to add comment