Code:
while true do
Citizen.Wait(10)
local ped = GetPlayerPed(-1)
local pedExist = DoesEntityExist(ped)
local pedinVeh = IsPedInAnyVehicle(ped, false)
if IsControlJustReleased(0, Config.Keyforint) and IsInputDisabled(0) then
if busy == false then
busy = true
getVehicle(nil, nil)
end
end