Exports

Series of exports that will be added as time goes on. These are good for implementing radial menus and usage of 3rd party scripts

Resource must be named frozen_police

Client Exports

ExportResult

exports.frozen_police:searchPlayer(PlayerId)

Searches players inventory(Client ID)

exports.frozen_police:openOutfits(station)

Opens cloakroom of whichever station specified in the parameter

exports.frozen_police:escortPlayer(serverId)

Escorts player(Server ID)

exports.frozen_police:IsHandcuffed()

Returns if local player is handcuffed

Server Exports

ExportResult

exports.frozen_police:getPoliceOnline()

Returns integer of how many police are online regardless of department(Good for robbery scripts that need to count all pd jobs)

Last updated