Citizen.CreateThread(function()
while true do
Citizen.Wait(0)
BigMapHandle(IsPedInAnyVehicle(PlayerPedId(), true), OnlyDriver and (GetPedInVehicleSeat(GetVehiclePedIsIn(PlayerPedId(), false), -1) == PlayerPedId()))
if IsPedInAnyVehicle(PlayerPedId(), true) then
if (OnlyDriver and (GetPedInVehicleSeat(GetVehiclePedIsIn(PlayerPedId(), false), -1) == PlayerPedId())) or not OnlyDriver then
DisplayRadar(true)
end
end
end
end)