22.11.2011, 20:17
On your /o command to something like this;
pawn Код:
if(PlayerInfo[playerid][pFaction] == 1) // Example, edit this so it fits with your script.
{
new string[128], text[128];
if(sscanf(params, "s[128]", text)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /o [text]");
format(string, sizeof string, "%s: %s", name, text);
SendClientMessageToAll(GetPlayerColor(playerid), text);
}