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)
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)
IsPlayerInJail
exports.wasabi_police:IsPlayerInJail(target)
target (int) : Server ID of player
Returns integer of time left in jail OR false/nil if player not in jail.