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

Feature request: Make it easier to add other vehicles #9

Open
jinks opened this issue Jun 10, 2017 · 0 comments
Open

Feature request: Make it easier to add other vehicles #9

jinks opened this issue Jun 10, 2017 · 0 comments

Comments

@jinks
Copy link

jinks commented Jun 10, 2017

Currently your list of eligible vehicles is hidden away in a local table inside control.lua.

Could you either add an API function to add vehicles to that list or move it to somewhere where it can be accessed from outside? This way it would be possible to add modded vehicles to your list from either the mods themselves or via add-on mods.

A simple remote function make_vehicle_chargeable(name) that adds to the table would probably suffice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant