07.03.2017, 16:02
PHP код:
new gun = GetPlayerWeapon(playerid);
* * * * if(gun == 4 || gun == 9 || gun == 26 || gun == 34 || gun == 35 || gun == 36 || gun == 37 || gun == 38 || gun == 39)
* * {
* * * * new plname[MAX_PLAYER_NAME];
* * * * new string[128];
* * * * if(Player[playerid][pAdmin] <= 1)
* * * * {
* * * * * * GetPlayerName(playerid, plname, sizeof(plname));
* * * * * * format(string, sizeof(string), "{00FF00}[ÀÍÒÈ×ÈÒ]{FFFFFF}: {FF0000}%s {FFFFFF}áûë êèêíóò. Ïðè÷èíà: ÷èò íà îðóæèå!", plname);
* * * * * * SendAdminMessage(COLOR_LIGHTRED, string);
* * * * * * DelGun(playerid);
* * * * * * Kick(playerid);
* * * * }
* * }