30.06.2016, 22:24
For /aduty
you formatted string but didnt sent to players
and in "else"
Replace
to
Код:
format(string, sizeof(string), "{FF0000} %s is now Admin Duty. Use (/report) to ask help" ,string); SendClientMessageToAll(-1, string);
and in "else"
Replace
Код:
SendClientMessage(playerid,COLOR_GREEN, "You are no longer on admin duty.");
Код:
new str[76], name[24]; GetPlayerName(playerid, name, 24); format(str, sizeof(str), "{FF0000}%s is no longer admin on duty", name); SendClientMessageToAll(COLOR_GREEN, str);