I have been trying to use resources to hide my minimap while being outside of a vehicle but every resource i use makes my map starts flickering. Is there any known bugs or problems with this feature?
1 Like
check if you dont have any other resource that makes it visible
You don’t need a resource for this
local currentValue = false
Citizen.CreateThread(
DisplayRadar(false)
function()
Wait(200)
local isInCar = IsPedInAnyVehicle(PlayerPedId(), false)
if isInCar and currentValue == false then
DisplayRadar(true)
currentValue = true
elseif not isInCar and currentValue == true then
DisplayRadar(false)
currentValue = false
end
end
)
Put this in any client script. That’s all you need. Wrote this without checking but should work fine
4 Likes
this is not the right place to ask for it but could you maybe check my other thread about falling truth addon maps. I have a feeling you have enough experience to help me truth this problem. Thanks for the help on this one, it worked perfectly fine.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.