ESX Ammunition Shop - Release

[REQUIREMENTS]

Default Location

[ 22.41, y = -1110.33, z = 29.8 ]

Custom Language

If the Config.Locale = ‘en’ language will always be set as ‘en’ than the language you choosed, you can always
manually edit the ‘en’ language file and use your language there.

Configuration

#ItemsInAmmunitionShop Config option also allows you to sell any ammunition you pleased.
You should add the weapon names as ammunition types:

{ itemName = ‘WEAPON_PISTOL’, label = ‘Pistol’, BuyInAmmunitionShop = true, BuyPrice = 10},

[Installation]

  1. Place esx_ammunitionshop resource inside [ESX] directory.

  2. Add start esx_ammunitionshop on server.cfg

  3. Start server!

Github download and information:

https://github.com/Nosmakos97/esx_ammunitionshop

If you encounter any issues, contact me or reply here.

(This is my first resource, so i hope this works well for you.)

Screenshots:

2 Likes

photos please?

Screenshots added and the whole resource is now updated.

Is this a player owned script ?

1 Like

Even though my config was set to en, it was using the language from the gr file. I copied the en data and pasted it into the gr file and will see if that resolves after I restart our server. Also, it takes money from my cash account, but does not give me ammo for my weapons. I tried with 4 different guns that I own and got no ammo with any of them.

Hello, tes the language has issue for some reason, maybe you should check the __resource and allow only english. Are you sure? I will create a gif when i get home to show you that it works

here is a solution for the EN language
1.go to languages folder
2.open gr.lua
3. change line # 1 en to gr
example: Locales[‘gr’] = {
i found the currency symbol at server.lua line 19 I change it but still the same old one any advice?

Broken according to OP. He will update it soon.