13.03.2013, 09:35
Maybe something like this:
And use:
on your OnDuty command.
Not tested but i think will work!
pawn Код:
public OnPlayerText(playerid, text[])
{
if(pInfo[playerid][OnDuty] == 1) //change it to yours
{
new string[128];
GetPlayerName(playerid,string,sizeof(string));
format(string,sizeof(string),"((%s says: %s))",string,text[1]);
SendClientMessageToAll(-1,string);
return 0;
}
return 1;
}
pawn Код:
pInfo[playerid][OnDuty] = 1; //or what ever your using
Not tested but i think will work!

