Oh, and if my mini addon is anything to go by then the following line change will make nUI 5 work in 5.3.
RegisterStateDriver(nUI_ActionBar, "page", string.format("[vehicleui] %d; [overridebar] %d; [shapeshift] %d; [bar:2] 2; [bar:3] 3; [bar:4] 4; [bar:5] 5; [bar:6] 6; [bonusbar:1] 7; [bonusbar:2] 8; [bonusbar:3] 9; [bonusbar:4] 10; [bonusbar:5] 11;1",GetVehicleBarIndex(),GetOverrideBarIndex(),GetTempShapeshiftBarIndex()) );
|