You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.The text was updated successfully, but these errors were encountered: