OnPlayerUpdate Anti Weapon Hack (Urgent)
#3

Quote:
Originally Posted by Backwardsman97
Посмотреть сообщение
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.
Didn't work.
Reply


Messages In This Thread
OnPlayerUpdate Anti Weapon Hack (Urgent) - by Jack_Leslie - 22.07.2011, 06:33
Re: OnPlayerUpdate Anti Weapon Hack (Urgent) - by Backwardsman97 - 22.07.2011, 06:48
Re: OnPlayerUpdate Anti Weapon Hack (Urgent) - by Jack_Leslie - 22.07.2011, 06:59
Re: OnPlayerUpdate Anti Weapon Hack (Urgent) - by Backwardsman97 - 22.07.2011, 07:36

Forum Jump:


Users browsing this thread: 1 Guest(s)