02.08.2017, 12:20
PHP код:
CMD:givekillsall(playerid, params[]) {
if(LevelAdmin(playerid) < 20) return 0;
if(AdmLog[playerid] == false) return SendClientMessage(playerid,Red,"ERROR: айрк озебш мотшлъ агойрйн");
new KillsNum;
if(sscanf(params, "i", KillsNum)) return SendClientMessage(playerid,White,"Usage: /GiveKillsAll [Kills]");
if(KillsNum < 0 || KillsNum > 2000) return SendClientMessage(playerid,Red,".ма рйъп мъъ йеъш о200 дшйвеъ млм дщшъ");
foreach(new i : Player) {
if(logged[i] == true)
pInfo[i][Kills] += KillsNum;
}
new String[94];
format(String,sizeof(String),".ръп млм дщшъ {"#C_Grey"}%s {"#C_llBlue"}дшйвеъ {"#C_Grey"}%s {"#C_llBlue"}дагойп",GetNum(KillsNum),GetName(playerid));
SendClientMessageToAll(llBlue, String);
TextDrawHideForPlayer(playerid, ClickHard);
return 1;
}