19.02.2014, 11:38
using dcmd
Didn't test it, but it should be working
pawn Код:
dcmd_o(playerid, params[])
{
new string[128], pname[MAX_PLAYER_NAME];
if(!strlen(params)) return SendClientMessage(playerid, 0xFFFFFFFF, "(usage) /o (Message)");
GetPlayerName(playerid,pname,sizeof(pname));
format(String, sizeof(String), "[GLOBAL] %s(%d) says: %s", pname, playerid, params);
SendClientMessageToAll(0x33AA33AA, string);
return 1;
}