19.01.2013, 22:12
Quote:
nothing. on line 4946.
Maybe on line 4994 if (APlayerData[playerid][PlayerLevel] >= 1) { |
pawn Код:
COMMAND:a(playerid, params[])
{
if(APlayerData[playerid][PlayerLevel] >= 3) {
new result[128];
if(sscanf(params,"s[128]",result)) return SendClientMessage(playerid, 0xFFFFFFFF, "Usage: /a [message]");
new string[128],Name[MAX_PLAYER_NAME];
GetPlayerName(playerid,Name,sizeof(Name));
format(string,sizeof(string),"[ADMIN-CHAT] %s (%d): %s",Name,playerid,result);
foreach(Player,i) if(APlayerData[i][PlayerLevel] >= 3) SendClientMessage(i,0x00FF00FF,string);
}
return 1;
}