05.02.2012, 07:20
guys i need to know how to make a loop of 1 minute (you can only use /ad from 1 to 1 minute) heres current code:
Code:
CMD:ad(playerid, params[]) { for(new i; i < MAX_PLAYERS; i++) { new text, pname[25]; GetPlayerName(playerid, pname, sizeof(pname)); if(sscanf,params,"s",text) return SendClientMessage(playerid,color_blue,"/ad [text]"); SendClientMessageToAll(colors_blue,"ad from %s: %s", pname, text); } return 1; }