WeaponSpeed
Hi please help with my script:
PHP Code:
Code:
L 11/07/2013 - 10:03:07: [AMXX] Run time error 4: index out of bounds |
Re: WeaponSpeed
iWeapon is the weapon's entity ID, while iId is the weapon's ID (CSW_*). I don't think you should use iWeapon as index for gun_speed[] and L_gun[][] arrays, but it would help if you shown how you declare these arrays and describe their purpose.
|
Re: WeaponSpeed
PHP Code:
PHP Code:
TEST 2: PHP Code:
|
Re: WeaponSpeed
gun_speed array is missing a cell
you are using get_pdata_int instead of _cbase for m_pPlayer pdata. Also, use offsets names, it prevents from making errors and helps a lot for readability. PHP Code:
|
Re: WeaponSpeed
Very thanks.
|
| All times are GMT -4. The time now is 23:14. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.