Standalone
Agency Companion Exports & API
Agency Companion is two things that belong together: a free FiveM resource for your server and the free Agency.
v1.0.2Free6 Pages

01Client Exports
| Export | Description |
|---|---|
Open() | Opens the Agency Companion window for the local player. |
Tip(kind) | Shows a short Agency Companion tip on screen for the given script kind. |
02Server Exports
| Export | Description |
|---|---|
GetAccent(kind) | Returns the accent colour an Agency script should use (per script or for all). |
GetScripts() | Returns the Agency scripts found on this server and their link status. |
BuildBundle(source) | Builds the one-code bundle with every linked Agency script for a player. |
Tip(source, kind) | Shows an Agency Companion tip to one player for the given script kind. |
03Events
| Name | Side | Description |
|---|---|---|
agency-companion:open | Client | Opens the Agency Companion window for the player (client event). |