JanriKallas Posted December 2, 2015 Share Posted December 2, 2015 is there way to getPedWeapon and ammo and insert it into table so after respawn it gets the table? I tried toJSON but it can give only one value so like weaponID but not ammo.. Link to comment
.:HyPeX:. Posted December 2, 2015 Share Posted December 2, 2015 If you're using freeroam i'm not sure onPlayerSpawn will work, so it might be easier to just edit the freeroam resource or the script you're working on. Then its just a matter of using GetPedWeapon and GetPedTotalAmmo Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now