24.08.2012, 14:43
You need a little code to send client message for admins. Add this stock on top of your script.
After adding this, all you need to do is making a comment like "/a" and using SendClientMessageToAdmins on there.
And on second one, try adding this at OnPlayerText function;
pawn Код:
stock SendClientMessageToAdmins(color, msg[]) for(new i; i < MAX_PLAYERS; i++) if(PlayerInfo[i][pAdminLevel] >= 1) SendClientMessage(i, color, msg);
And on second one, try adding this at OnPlayerText function;
pawn Код:
if(IsMuted[playerid] == 1) return SendClientMessage(playerid, -1, "You are currently muted!");