There are no client-side exports.
Server exports
getPlayerRoom
Returns the apartment a given player is currently assigned to.
Motel group ID (matches a key in
Config.MotelGroups). May be nil if the room isn’t in a group.GetAddress
Look up an apartment address by player identifier.
GetAddressByCitizenId
Look up an address by citizenid (qbox/qbcore character ID).
GetAllAddresses
Return the entire address registry as a table keyed by identifier.
Common integration recipes
MDT - show resident's apartment in their profile
MDT - show resident's apartment in their profile
Dispatch - display apartment as call location
Dispatch - display apartment as call location
Job UI - list all residents of a motel
Job UI - list all residents of a motel