01.03.2014, 14:46
Hello all it's reply command, it's chat between the admin and the member when the member do /report but it's not work good with me what can i do??
thank you
Код:
CMD:reply(playerid,params[]) { new string[128], id; if(PlayerInfo[playerid][AcceptedReport] >= 1 || PlayerInfo[playerid][Replys] >= 1) { if(sscanf(params,"ii",id)) return SendClientMessage(playerid, red, "USAGE:{FFFFFF} /reply [playerid]"); format(string, sizeof(string), "%s replies: %s", id, params); SendClientMessage(playerid, yellow, string); format(string, sizeof(string), "Reply sent to %s: %s", id, params); SendClientMessage(playerid, yellow, string); } else return SendClientMessage(playerid, red, "ERROR: You don't have an active report or it still not accepted."); return 1; }