08.01.2010, 21:15
Hi, I've been working on a weapon saving system. Well anyway, the Variable that stores the weapon ID always becomes 1. Even with any weapon. The ammo saves though. Anyone got an idea why this is not working?
NOTE: I spawned a 9mm (( Which is slot 2 )) to test the saving.
Код:
PlayerInfo[playerid][pGun1] = GetPlayerWeaponData(playerid, 2, PlayerInfo[playerid][pGun1], PlayerInfo[playerid][pAmmo1]);