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

I have scripted that code;
pawn Код:
for(new slot = 0; slot < 13; slot++)
          {
            new wep, ammo;
            GetPlayerWeaponData(playerid, slot, wep, ammo);
           }
The problem is that sometimes it returns ammo -1.
How can i fix this?
thanks
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)