GetPlayerWeaponData ammo returns -1 in a loop (sometimes)
#4

All this code is doing is looping through 13 different weapon slots and formatting pGun1. So weapon slot 1 and ammo gets set to pGun1, then the loop goes back through and does weapon slot 2 and ammo and sets that to pGun1. So you're not really doing anything. I think you have a logic error here.
Reply


Messages In This Thread
GetPlayerWeaponData ammo returns -1 in a loop (sometimes) - by Nakash - 17.01.2010, 14:47
Re: GetPlayerWeaponData ammo returns -1 in a loop (sometimes) - by pagie1111 - 17.01.2010, 14:57
Re: GetPlayerWeaponData ammo returns -1 in a loop (sometimes) - by Nakash - 17.01.2010, 15:07
Re: GetPlayerWeaponData ammo returns -1 in a loop (sometimes) - by Backwardsman97 - 17.01.2010, 15:33

Forum Jump:


Users browsing this thread: 1 Guest(s)