Agency Docs
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

ExportDescription
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

ExportDescription
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

NameSideDescription
agency-companion:openClientOpens the Agency Companion window for the player (client event).

Still stuck after this page? Our support team takes it from here.