#4

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);
}
Reply


Messages In This Thread
hey - by Butch - 22.11.2011, 20:09
Re: hey - by Eduard93 - 22.11.2011, 20:12
Re: hey - by Butch - 22.11.2011, 20:13
Re: hey - by Luis- - 22.11.2011, 20:17
Re: hey - by Eduard93 - 22.11.2011, 20:21
Re: hey - by Butch - 22.11.2011, 20:37
Re: hey - by Butch - 22.11.2011, 20:39
Re: hey - by Eduard93 - 22.11.2011, 21:10

Forum Jump:


Users browsing this thread: 1 Guest(s)