diff --git a/client/seatbelt.lua b/client/seatbelt.lua index f01fb18e..18ee93b8 100644 --- a/client/seatbelt.lua +++ b/client/seatbelt.lua @@ -83,6 +83,14 @@ end exports("HasHarness", hasHarness) +---Checks whether the player has their seatbelt on or not +---@return boolean +local function hasSeatbeltOn() + return seatbeltOn +end + +exports("HasSeatbeltOn", hasSeatbeltOn) + -- Ejection Logic RegisterNetEvent('QBCore:Client:EnteredVehicle', function()