Quote:
Originally Posted by Mattakil
pawn Код:
CMD:report(playerid, params) { new string[128], reportmessage[100]; if(strlen(reportmessage)>=100)return SCM(pid, COLRED, "[Server]{F0F0F0}: Max report length is 100."); else { format(string, sizeof(string), "[Report %s {%d}]: %s", GetName(playerid), playerid, reportmessage); foreach (new i : Player) { if(PlayerInfo[i] [pAdmin] >=1) { SCM(i, COLPURPLE, string); SCM(pid, COLPURPLE, "Your message has been sent to online admins!"); return 1; } } } return 1; }
Something like this?
|
Yes but different , so if player want to talk about Marketplace items etc , he can talk to admin via CMD:am and admin can reply using CMD:amsg
Can you help me ?