Skip to content

Commit

Permalink
Update client.lua
Browse files Browse the repository at this point in the history
Added new 'hideminimap' and 'showminimap' exports([suggestion](ocrp#6))
  • Loading branch information
NickReagan committed Oct 12, 2022
1 parent 22de116 commit df08f07
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion ocrp_postal_map/client.lua
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,12 @@ Citizen.CreateThread(function()
SetRadarZoom(1100)
end
end
end)
end)

function hideminimap()
DisplayRadar(false);
end

function showminimap()
DisplayRadar(true);
end

0 comments on commit df08f07

Please sign in to comment.