/alv_repairtable

A repair table to fix guns (durability) via OverExtended Inventory and various frameworks.

Primary LanguageLuaGNU General Public License v3.0GPL-3.0

Alv Repair Table

This is a FiveM script that uses ESX/QBCore/OXCore and OX Inventory to allow players to fix guns by restoring their durability at a crafting bench in exchange for metal.

The script is heavily configurable and has features such as progress bars, animations & props, etc.

Script Preview: Alv.gg YouTube

Installing this to your server.

Please ensure you install a release version as if it is not, you may get a version that is actively being worked on and may error.

1. Download this repository and add the script to your resources folder.
2. Make sure the resource is started in the server.cfg, you can add ensure alv_repairtable if it isn't.
3. Make sure you add the item in the config.lua file to ox_inventory, if you need help with this see below...
4. Once you have completed those steps, the script is ready to be used simply restart your server and you are good to go!

Adding the item to OX Inventory.

1. Navigate to your ox_inventory folder and open it, then open the data folder and finally open items.lua.
2. Within the items table, add the following code: ['scrapmetal'] = { label = 'Scrap Metal', weight = 80, },
3. Save the file and restart your server, the item is now added to your server.

Have a suggestion?.

Whether it be as simple as adding a new language to the locales or updating an actual feature within the script, we appreciate all feedback and try to accomodate to all server owners' needs.
Therefore, if you have a suggestion please join the Discord linked below at the bottom of this README file and leave your comment in the suggestions channel.

Experienced Developer? Try this!.

If you want to have the best performance possible and you understand at least the basics of developing, you could also head to the framework.lua on both the client side and server side, remove all of the code there and add a shared script to the fxmanifest.lua with your frameworks import file, if it supports one. The frameworks in here by default all support imports.

Need Support?

I will offer support in my Community Discord, which can be found below as previously mentioned, if you need help with the script you can type in my general chat or makea ticket. Keep in mind that I am not available 24/7 so your response time may vary. You are welcome to ping me with your request to get a better chance of me seeing your message sooner!

If you are looking for a Developer with over 3 years of experience on FiveM, feel free to join my Discord Server or visit my Website!