Weapon
#6

Here is a simple stock to detect the weapon model
pawn Код:
stock GetWeaponModel(weaponid)
{
    switch(weaponid)
    {
        case 1:
            return 331;


        case 9:
            return 341;

        case 10..15:
            return weaponid+311;

        case 16..18:
            return weaponid+326;

        case 22..29:
            return weaponid+324;

        case 30,31:
            return weaponid+325;

        case 32:
            return 372;

        case 33..45:
            return weaponid+324;

        case 46:
            return 371;
    }
    return 0;
}
You can use the stock in OnPlayerUpdate
EDIT:If you can't switch to deagle you're server must have a anti deagle driveby.
Reply


Messages In This Thread
Weapon - by Zex Tan - 22.01.2013, 05:58
Re: Weapon - by Scenario - 22.01.2013, 07:02
Re: Weapon - by Zex Tan - 22.01.2013, 08:03
Re: Weapon - by Threshold - 22.01.2013, 09:20
Re: Weapon - by Erwin. - 22.01.2013, 09:40
Re: Weapon - by DaRk_RaiN - 22.01.2013, 09:48

Forum Jump:


Users browsing this thread: 1 Guest(s)