Try this.
pawn Код:
if(PlayerInfo[playerid][pAdmin] <= 1)
{
new weaponid = GetPlayerWeapon(playerid);
if(weaponid == 38 || weaponid == 35 || weaponid == 36) //anti minigun and rpg
{
PlayerInfo[playerid][pBand] = 3;
PlayerInfo[playerid][pPermBand] = 1;
SendClientMessageToAll(COLOR_LIGHTRED, "{CC1100}{CC1100}AdmCmd:{FFFFFF}{FFFFFF} Another user was just banned by Leslie's Anti-Weapon hack!");
BanEx(playerid, "Banned by Leslie, Reason: Hacked Minigun/RPG");
return 1;
}
}
return 1;
A logic error.