Originally Posted by MunkDev
This isn't really that robust. It's better to use the API provided in the environment (for this exact purpose).
|
I check the RestrictedEnvironment.lua, well, the GetVehicleBarIndex and GetOverrideBarIndex is added in 7.0. finally no need to fetch them by tricky now