QBESXStandalone
Agency-Watch Exports & API
Une vraie montre connectée pour FiveM, pas un HUD.
v26.5Gratuit6 Pages

01Client Exports
| Export | Description |
|---|---|
OpenWatch(mitte) | Opens the watch. Pass true to open it centred on screen instead of in its configured corner. |
CloseWatch() | Closes the watch and releases the NUI focus. |
ToggleWatch() | Closes the watch if it is open, opens it otherwise. |
IsWatchOpen() | Returns true while the watch UI is on screen. |
IsWatchLinked() | Returns false when the player switched the link to the Agency Phone off in the control centre. |
RunWatchAction() | Triggers whatever is bound to the orange action button (Config.ActionButton). |
GetWatchSettings() | Returns the full settings table the watch UI is built from (theme, face, size, apps, locale). |
SetWatchSetting(key, value) | Sets a single setting, saves it per character and applies it right away. |
SetWatchSettings(table) | Sets several settings at once and rebuilds the UI a single time instead of once per value. |
RequestWatchPairing() | Asks the server for a Companion app pairing code. The answer arrives as an event, not as a return value. |
ShowUpdate() | Opens the software-update screen of AgencyOS. |
HandlesDeath() | Returns true when the watch shows the emergency screen on death. The Agency Phone asks this so both devices never show it at once. |
GetFitness() | Returns the current fitness values: steps, distance, active minutes and calories of the running day. |
02Server Exports
| Export | Description |
|---|---|
IsPremium(src) | Returns true when this player's watch runs in the Pro version. The verdict comes from the handshake with the genuine Agency Phone, never from the client. |