18.11.2012, 14:04
pawn Code:
public OnPlayerText(playerid, text[])
{
if( strfind( text, "~r~", true ) != -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;
}