Skip to main content

Exports

Call the exports on exports.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’s fxmanifest.lua, before its other client scripts:
fxmanifest.lua
Restart that resource once after adding the line. The integration keeps the return values of the GTA blip natives, so the resource works as before.

RegisterBlip

Client-side. Registers name, description and area of a blip you created.
table
required
boolean
false if the blip does not exist.
Sprite, color, alpha, display mode, coordinates and deletion keep using the normal GTA natives.

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.
Only the resource that added a territory can remove it. Its territories are removed when it stops. Client-side.
SetMinimapVisible(false) hides the minimap until you call it with true. It does not change the player’s own Show minimap setting.