i need large minimap when press Z
guys i search this but i didnt find it. if you have please send me thank you
Either use something like PLD or lambda menu to change the minimap’s size. Or if you’re on a server that has scripthook disabled, you’ll need to ask the server owner to create a resource for it.
If you have lambda press the * key on your numpad.
i dont want to use any big script for that i just need large minimap script
Lambda and PLD are not that big. Nothing really
Heres the code I use on my server:
Citizen.CreateThread(function()
while true do
Citizen.Wait(1)
if IsControlJustReleased(0, 20) then -- 20 is z
Citizen.Wait(25)
if not isRadarExtended then
SetRadarBigmapEnabled(true, false)
LastGameTimer = GetGameTimer()
isRadarExtended = true
elseif isRadarExtended then
SetRadarBigmapEnabled(false, false)
LastGameTimer = 0
isRadarExtended = false
end
end
end
end)
Originally from @pongo1231
Put that client-side and you should be good.
thank you i will try
how to do this when pressing Z big map. when you drop Z than small map ?
I know it’s a old topic, but im also using this and it is not going back automatic.
EDIT:
I changed it and works how i want.
Citizen.CreateThread(function()
while true do
Citizen.Wait(1)
if IsControlJustReleased(0, 20) then
SetRadarBigmapEnabled(true, false)
Citizen.Wait(10000)
SetRadarBigmapEnabled(false, false)
end
end
end)
What file?
Hello, so do I make a separate resource including a __resource.lua and put that it?