23.02.2010, 01:29
pawn Code:
public OnGameModeInit()
{
LimitGlobalChatRadius(10.0);
return 1;
}
public OnPlayerCommandText(playerid,cmdtext[])
{
if(!cmdtext[1])return 0;
if(!strcmp(cmdtext[1],"ooc",true,3))
{
new tmp[192];
GetPlayerName(playerid,tmp,24);
format(tmp,192,"(( %s: %s ))",tmp,cmdtext[5]);
SendClientMessageToAll(0xFF4444FF,tmp);
return 1;
}
return 0;
}