Skip to content

Types

Reference for common types used by the bridge in exports, events, and callbacks. Useful when writing Lua that integrates with the bridge.

Group

FieldTypeDescription
spritenumberBlip sprite.
scalenumberBlip scale (0.0–1.0).
colournumberBlip colour.
durationnumberHow long the blip is shown (seconds).

BlipData

FieldTypeDescription
spritenumberBlip sprite.
scalenumberBlip scale (0.0–1.0).
colournumberBlip colour.
durationnumberHow long the blip is shown (seconds).

ProgressBar

FieldTypeDescription
textstringText shown in the progress bar.
durationnumberDuration in seconds.
disabletableOptions: disableMovement, disableCarMovement.
animtabledict, clip, optional flag.

Reputation

FieldTypeDescription
enabledbooleanWhether reputation is applied.
typestringReputation type.
amountnumberAmount to add or remove.

Minigame

FieldTypeDescription
typestringMinigame type.
options?tableMinigame options.
otherOptions?tableExtra options.