Skip to content

Commit

Permalink
fix: variable HasHarnass is never set
Browse files Browse the repository at this point in the history
  • Loading branch information
bitpredator committed Jan 7, 2025
1 parent 4a2e764 commit de735fa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ RegisterNetEvent("esx-radialmenu:client:ChangeSeat", function(data)
local Veh = GetVehiclePedIsIn(PlayerPedId, false)
local IsSeatFree = IsVehicleSeatFree(Veh, data.id)
local speed = GetEntitySpeed(Veh)
local HasHarnass
local HasHarnass = (PlayerPedId) and IsPedInAnyVehicle(PlayerPedId, false)
if not HasHarnass then
local kmh = speed * 3.6
if IsSeatFree then
Expand Down

0 comments on commit de735fa

Please sign in to comment.