25.03.2012, 21:28
pawn Код:
if(strcmp(cmd, "/l", true) == 0)
{
new text[128],message[256],sender[MAX_PLAYER_NAME];
if(sscanf(params,"s",text)) return SendClientMessage(playerid, COLOR_RED, "/l(ocal) <text>");
GetPlayerName(playerid,sender,sizeof(sender));
format(message,sizeof(message),"%s(%d) says: %s",sender,playerid,text);
ProxDetector(10.0, playerid,message,COLOR_GREY);
return 1;
}