19.07.2011, 21:50
Couldn't you save the weapon to a file, and once the ammo runs out. Wait until the player buys more ammo(make that feature) and when he buys the ammo detect if he has that weapon in a file, and if he does use the GivePlayerWeapon function.