07.10.2010, 18:32
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(!strcmp("/o", cmdtext, true, 2))
{
new str[128];
GetPlayerName(playerid, str, sizeof(str));
format(str, sizeof(str), "%s", cmdtext[2]);
SendPlayerMessageToAll(playerid, str);
return 1;
}
return 0;
}