Save ammo and then set it
#4

Quote:
Originally Posted by SpiderPork
But I think when I'll set the player's ammo back, it will set the amount of the whole "equipment", not just the remaining rounds.
Код:
new weapons[13],ammo[13];
for(new i = 0;i<13;i++){
GetPlayerWeaponData(playerid,i,weapons[i],ammo[i]);}
Not really, check the slots of the weapon and then the weapon is < weapons[SLOT] >
Check the weapon slots at the weapon list on the wiki.
Reply


Messages In This Thread
Save ammo and then set it - by SpiderPork - 10.05.2009, 17:45
Re: Save ammo and then set it - by BlackFoX - 10.05.2009, 19:39
Re: Save ammo and then set it - by SpiderPork - 11.05.2009, 16:00
Re: Save ammo and then set it - by matrix_smq - 11.05.2009, 16:12
Re: Save ammo and then set it - by SpiderPork - 11.05.2009, 16:40
Re: Save ammo and then set it - by Derksen123 - 05.06.2009, 21:35
Re: Save ammo and then set it - by lol2112 - 05.06.2009, 21:38
Re: Save ammo and then set it - by Badger(new) - 05.06.2009, 21:54
Re: Save ammo and then set it - by Gappy - 14.06.2009, 10:06
Re: Save ammo and then set it - by SpiderPork - 14.06.2009, 10:10

Forum Jump:


Users browsing this thread: 2 Guest(s)