Exports
Call the exports onexports.road_pausemenu.
Native blips
GTA icon blips from every resource appear on the map and minimap automatically. To also carry their names, descriptions, radius areas and route flags across, add this line to the other resource’sfxmanifest.lua,
before its other client scripts:
fxmanifest.lua
RegisterBlip
Client-side. Registers name, description and area of a blip you created.table
required
boolean
false if the blip does not exist.DescribeBlip
Client-side. Sets only name and description.number
required
Blip handle
string
required
Name
string
Description
Territories
AddZone and RemoveZone exist on the server and on the client with the
same arguments. Server territories are sent to all players; client
territories stay on that one client.
AddZone
string
required
Letters, numbers,
_ and -, up to 80 characters. Unique across all
resources.table
required
boolean
false if the id or polygon is invalid.RemoveZone
string
required
Territory id
boolean
false if the territory does not exist or belongs to another resource.Menu and minimap
Client-side.SetMinimapVisible(false) hides the minimap until you call it with true.
It does not change the player’s own Show minimap setting.