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

Client Exports


searchPlayer
exports.wasabi_police:searchPlayer(PLAYER_ID)

Searches the player inventory of the player passed through parameter


PLAYER_ID: player ID(client ID)

openOutfits
exports.wasabi_police:openOutfits(STATION)

Opens cloakroom of whichever station specified in the parameter


STATION: Station identifier from Config.Locations

escortPlayer
exports.wasabi_police:escortPlayer(SERVER_ID)

Escorts player with ID passed through parameter


SERVER_ID: Server Id

IsHandcuffed
exports.wasabi_police:IsHandcuffed()

Returns if local player is handcuffed

getPoliceOnline
exports.wasabi_police:getPoliceOnline()

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

Server Exports


getPoliceOnline
exports.wasabi_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