Types
Reference for common types used by the bridge in exports, events, and callbacks. Useful when writing Lua that integrates with the bridge.
Group
| Field | Type | Description |
|---|---|---|
sprite | number | Blip sprite. |
scale | number | Blip scale (0.0–1.0). |
colour | number | Blip colour. |
duration | number | How long the blip is shown (seconds). |
BlipData
| Field | Type | Description |
|---|---|---|
sprite | number | Blip sprite. |
scale | number | Blip scale (0.0–1.0). |
colour | number | Blip colour. |
duration | number | How long the blip is shown (seconds). |
ProgressBar
| Field | Type | Description |
|---|---|---|
text | string | Text shown in the progress bar. |
duration | number | Duration in seconds. |
disable | table | Options: disableMovement, disableCarMovement. |
anim | table | dict, clip, optional flag. |
Reputation
| Field | Type | Description |
|---|---|---|
enabled | boolean | Whether reputation is applied. |
type | string | Reputation type. |
amount | number | Amount to add or remove. |
Minigame
| Field | Type | Description |
|---|---|---|
type | string | Minigame type. |
options? | table | Minigame options. |
otherOptions? | table | Extra options. |