12.09.2011, 19:29
Up:
Forward
cmd
everything works exept the timer
yea the command is fine to, only copied a bit of the cody, not the zcmd part etc
how to let it work?
Код:
new timer1; new timer2; new dis[MAX_PLAYERS]; forward htimer(playerid);
Код:
public htimer(playerid) { dona[playerid] = 0; SendClientMessage(playerid, COLOR_RED, "[QUESTION] "green"You can "white"ask/answer "green"a question again! "grey"/h [TEXT]"); return 1; }
Код:
timer2 = SetTimer("htimer", 50000, false); new pname[24]; new string[128]; dis[playerid] = 1; GetPlayerName(playerid, pname, sizeof(pname)); format(string, sizeof(string), "[QUESTION] "yellow"- %s asks: "green"%s - "grey"[/A(nswer) (/h [TEXT])", pname,params); SendClientMessageToAll(COLOR_RED, string); SendClientMessage(playerid, COLOR_RED, "[QUESTION] "green"You can "white"ask "green"a question again over 50 seconds!"); return 1;
yea the command is fine to, only copied a bit of the cody, not the zcmd part etc
how to let it work?