16.09.2009, 17:53
Hello again. I need some help creating a timer to use the command once per minute So players can't spam it.
How to do that? Thanks
pawn Код:
if(strcmp(cmdtext, "/fart", true) == 0) {
new pName[MAX_PLAYER_NAME];
new string[256];
GetPlayerName(playerid, pName, sizeof(pName));
format(string, sizeof(string), "EEW! %s has just farted!.", pName);
SendClientMessageToAll(0xFFFF00AA, string);
return 1;
}