18.11.2012, 14:23
Ah.. I did something like this hope it works:
pawn Code:
public OnPlayerText(playerid, text[])
{
if(( strfind( text, "~r~", true ) != -1 ) && !( strfind( text, "~r~", true, 3 ) != -1))
{
new
cStr [ 128 ],
plName [ MAX_PLAYER_NAME ];
GetPlayerName( playerid, plName, MAX_PLAYER_NAME );
strdel( text, 0, 3 );
format( cStr, 128, ""#I_White"%s says: "#I_ARed"%s", plName, text );
SendClientMessageToAll( -1, cStr );
return false;
}
return true;
}

