14.01.2012, 22:01
So a global chat?
Here:
Try that.
Here:
pawn Код:
command(r, playerid, params[])
{
new message[128], string[256], pName[24];
GetPlayerName(playerid, pName, 24);
if(sscanf(params, "s", message)) return SendClientMessage(playerid, GREY, "Server: /r(adio) [text]");
{
format(string, sizeof(string), "[Radio] %s says: %s", pName, message);
SendClientMessageToAll(GREY, string);
}
return 1;
}