Quote:
Originally Posted by Mr_DjolE
What the hell are you doing [HK]Ryder[AN] ? Putting a timer for it ? rofl...
Simply use:
pawn Код:
if(GetPVarInt(playerid,"lols")>GetTickCount()) return SendClientMessage(playerid,0xFF0000AA,"Please wait 30 secs before using this command."); SetPVarInt(playerid,"lols",GetTickCount()+30000);
|
GetTickCount overlaps itself eventually making it useless if the server uptime is above 24 days. THAT is why most people don't use GetTickCount, and hense why he used a timer. He was correct.