Bypass start vehicle check
Last updated
Was this helpful?
Last updated
Was this helpful?
Was this helpful?
You can bypass the start vehicle check by setting the state bag canAlwaysStart to true
-- This command will make the player bypass the current vehicle start conditions
RegisterCommand("startbypass", function()
local plyPed = PlayerPedId()
local plyVeh = GetVehiclePedIsIn(plyPed)
Entity(plyVeh).state.canAlwaysStart = true
end)
Note: the bypass will apply when you enter the vehicle, after that the bypass is enabled