diff --git a/server-data/resources/[esx_addons]/esx-radialmenu/client/main.lua b/server-data/resources/[esx_addons]/esx-radialmenu/client/main.lua index 69682d5e..cc8b0b1e 100644 --- a/server-data/resources/[esx_addons]/esx-radialmenu/client/main.lua +++ b/server-data/resources/[esx_addons]/esx-radialmenu/client/main.lua @@ -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