Buyable ammo
#5

Do as above said. At the very simplest level, have the script check if the player has the weapon and, if they do, add ammo on to the gun for a lower price. If the player does not have the gun, he or she would then buy the weapon itself for a higher price.

A more advanced system would be to have the player buy ammo independently, regardless of whether he / she has the gun at the time, and then he / she can use the ammo later with a command.
Reply


Messages In This Thread
Buyable ammo - by dUPRE - 05.08.2017, 04:13
Re: Buyable ammo - by grymtn - 05.08.2017, 09:38
Re: Buyable ammo - by dUPRE - 05.08.2017, 11:00
Re: Buyable ammo - by dUPRE - 06.08.2017, 10:45
Re: Buyable ammo - by Luke_James - 06.08.2017, 12:58

Forum Jump:


Users browsing this thread: 1 Guest(s)