Frozen Wiki
Website
  • Documentation
  • 🔹Scripts
    • Frozen Medic Job
      • Installation
      • Dependencies
      • Exports
      • State Bags
      • Customizations
      • Common Issues
        • QBCore
    • Frozen Crutch
    • Frozen Scratch Ticket
      • Installations
    • Frozen Police Job
      • Installation
      • Dependencies
      • Exports
      • State Bags
      • Events
      • Customizations
    • Frozen Inventory
      • Features
      • Examples
      • Dependencies
      • Installation
        • v1.2 installation
    • Helicopter Camera
      • Adding custom helicopters
      • Moving the UI above the minimap
      • Adding controller inputs
      • Exports
      • Events
    • Frozen Poker
      • Installation
      • Dependencies
    • Frozen Fishing
      • Installation
      • Dependencies
      • Shop Items
      • Fishing Equipment Strength
    • Frozen Gym
      • Installation
      • Exports
        • Client Exports
        • Server Exports
  • 🔓Authorization
    • How to get authorized with license system?
Powered by GitBook
On this page
  • Client Exports
  • Server Exports
  1. Scripts
  2. Frozen Police Job

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

Export
Result

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

Export
Result

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)

PreviousDependenciesNextState Bags

Last updated 1 year ago

🔹