Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update config.weapons.lua #1146

Closed
wants to merge 1 commit into from

Conversation

StrixLuca
Copy link

export getWeaponConfig for a MDT or another scripts is very nice
is useful for later or for other scripts

export getWeaponConfig for a meos or another scripts is very nice
@Cyzxin
Copy link
Contributor

Cyzxin commented Aug 5, 2023

Could you not just use
ESX.GetConfig().Weapons
as the function https://github.com/esx-framework/esx_core/blob/main/%5Bcore%5D/es_extended/common/functions.lua#L23-L25 returns the config variable.

@StrixLuca
Copy link
Author

Could you not just use ESX.GetConfig().Weapons as the function https://github.com/esx-framework/esx_core/blob/main/%5Bcore%5D/es_extended/common/functions.lua#L23-L25 returns the config variable.

oh lol

@Gellipapa
Copy link
Member

There is a function for this, so I'll close this pr.

@Gellipapa Gellipapa closed this Aug 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants