HUDs for vehicles

by Godmave

Shows HUDs when driving vehicles

Tweaks
4 years ago
0.17 - 1.1
1.94K

b updateHud function has a problem

4 years ago

It seems to crash every time a vehicle is entered a second time, or player settings for the mod are changed
Error while running event vehiclehud::on_nth_tick(1)
LuaGuiElement API call when LuaGuiElement was invalid.
stack traceback:
vehiclehud/control.lua:339: in function 'updateHud'
vehiclehud/control.lua:425: in function <vehiclehud/control.lua:420>
stack traceback:
[C]: in function 'index'
__vehiclehud
/control.lua:339: in function 'updateHud'
vehiclehud/control.lua:425: in function <vehiclehud/control.lua:420>

New response