Error: error 033: array must be indexed (variable "weapon1")
#4

Quote:
Originally Posted by [MWR]Blood
Посмотреть сообщение
That's not the way GetWeaponName works... you should input the ID of the weapon you want to know the name of.
Example:
pawn Код:
GetWeaponName(26, weapon1, 64);
Sorry, forgot to say I have this:
Код:
new gun1 = CarInfo[car][vGun1], gun2 = CarInfo[car][vGun2], gun3 = CarInfo[car][vGun3];
So it should work.. shouldn't it? vGun1 vGun2 vGun3 are IDs, and only weapon IDs...
Reply


Messages In This Thread
Error: error 033: array must be indexed (variable "weapon1") - by Jack_Leslie - 07.10.2011, 08:51
Re: Error: error 033: array must be indexed (variable "weapon1") - by Vince - 07.10.2011, 08:55
Re: Error: error 033: array must be indexed (variable "weapon1") - by [MWR]Blood - 07.10.2011, 08:55
Re: Error: error 033: array must be indexed (variable "weapon1") - by Jack_Leslie - 07.10.2011, 09:01

Forum Jump:


Users browsing this thread: 2 Guest(s)