Loops once only?
#10

pawn Код:
new WeaponData[MAX_CUSTOM_WEAPONS][E_WEAPON_INFO] =
{
    {"Micro-SMG", .. }, // WeaponData[0]
    {"Desert Eagle", .. } // WeaponData[1]
};
The value you assign is not same as the index.

WeaponObjects[0] is 1 (weapid is 0)
WeaponObjects[1] is 2 (weapid is 1)


What you need to check is the value of WeaponObjects[weapid], not the index (in your case: weapid).
Reply


Messages In This Thread
Loops once only? - by Riddick94 - 11.09.2013, 18:19
Re: Loops once only? - by Macluawn - 11.09.2013, 18:39
Re: Loops once only? - by Riddick94 - 11.09.2013, 18:42
Re: Loops once only? - by Konstantinos - 11.09.2013, 18:53
Re: Loops once only? - by Riddick94 - 11.09.2013, 19:01
Re: Loops once only? - by Konstantinos - 11.09.2013, 19:10
Re: Loops once only? - by Riddick94 - 11.09.2013, 19:27
Re: Loops once only? - by Konstantinos - 11.09.2013, 19:46
Re: Loops once only? - by Riddick94 - 11.09.2013, 19:55
Re: Loops once only? - by Konstantinos - 11.09.2013, 20:00

Forum Jump:


Users browsing this thread: 4 Guest(s)