pScripts
  • INFORMATION
    • FiveM Asset Escrow System
    • Assets Updates
    • Discord Roles
  • Assets & Guides
    • 🏛️Banking
      • 👋Installation Guide
      • ⚙️Editable Files
      • Client Exports
      • Server Exports
    • 👨‍⚖️DOJ Job
      • 👋Installation Guide
      • ⚙️Config Files
      • Client Exports
      • Server Exports
    • 💻DOJ MDT
      • 👋Installation Guide
      • ⚙️Config Files
      • Client Exports
      • Server Exports
    • 🌿Weed Plants
      • 👋Installation Guide
      • ⚙️Config Files
      • Client Exports
      • Server Exports
    • 🚗Car Sale Job
      • 👋Installation Guide
      • ⚙️Config File
      • Client Exports
      • Server Exports
    • 📙Job Core
      • ⚙️Config File
      • Exports
    • 👮Police Job
      • 👋Installation Guide
      • ⚠️Common Issues
      • ⁉️Setup Server
      • ⚙️Config Files
      • Client Exports
        • Bodycam
        • Evidence System
        • Duty GPS
        • Interactions
        • Jail System
        • Police Objects
        • Speed Camera
        • Manage Traffic
        • Misc
      • Server Exports
        • Evidence System
        • Interactions
        • Jail System
        • Misc
    • 💻Police MDT
      • ⁉️Setup Server
      • ⚙️Config File
      • Client Exports
      • Server Exports
      • Dispatch System
    • 🚑Ambulance Job
      • 👋Installation Guide
      • ⁉️Setup Server
      • ⚙️Config Files
      • Client Exports
      • Server Exports
    • 💻Ambulance MDT
      • 👋Installation Guide
      • ⚙️Config File
      • Exports and Events
      • Dispatch System
    • 🛠️Mechanic Job
      • ⚙️Config Files
      • Mileage System
      • Nitro System
      • Lifters System
      • Misc
    • 💻Mechanic MDT
      • ⚙️Config File
      • Exports
      • Dispatch System
      • Licenses System
    • 💵Fleeca Robbery
      • 👋Installation Guide
      • ⚙️Config File
    • ⌚Jewelry Robbery
      • 👋Installation Guide
      • ⚙️Config File
    • 💇Appearance
      • ⚙️Config Files
      • Client Exports
    • 👀Hints
      • Exports
    • 👋Helper
      • Exports
    • 🔧Tuning Menu
      • Exports and Events
      • ⚙️Config Files
    • 🆔Documents
      • ⚙️Config File
      • Exports and Events
    • 📱Phone
      • ⤵️INSTALLATION
      • ⚙️CONFIG FILES
      • 📃FEATURES
      • 📱APPS
      • 📇SIM CARDS
      • 📳NOTIFICATIONS
      • 📨MESSAGES
      • 🚘GARAGES
      • 🪙CRYPTO
      • 🔪DARK CONNECT
      • ⌨️FUNCTIONS
      • 🌎LANGUAGE
      • ⚠️COMMON ISSUES
    • 🪙Casino Games
      • 🎰Slot Machine
      • 🏐Roulette
      • ♣️Poker
    • 💻GCT
      • 📨EXPORTS
    • 💻Civil MDT
      • ⤵️INSTALLATION
      • 📱APPS
      • 🏎️BOOSTING
      • 🏅ACHIEVEMENTS
      • ⚠️COMMON ISSUES
Powered by GitBook
On this page
  • OpenExtrasMenu
  • ToggleRadar
  • EditRadar
  • PlayAudio
  • TrunkEditor
  • Camera Creator
  • Camera Remove
  • CreateOutfitMenu
  • RemoveOutfitMenu
  • getRadarPlates
  • hasTrackingBand
  1. Assets & Guides
  2. Police Job
  3. Client Exports

Misc

OpenExtrasMenu

With following export you can open vehicle extras menu

exports['p_policejob']:OpenExtrasMenu()

ToggleRadar

Use following export to toggle police radar.

exports['p_policejob']:ToggleRadar()

EditRadar

Use following command to edit radar size or position.

/edit_radar

PlayAudio

Use following export to play audio for one player.

exports['p_policejob']:PlayAudio(file, volume)
  • file: string

    • File name from web folder

  • volume: number

    • Value between 0.0 - 1.0


TrunkEditor

Use following export to open trunk editor.

exports['p_policejob']:TrunkEditor()

You can also use command.

/trunk_editor

Camera Creator

Use following command to open camera creator.

/camera_creator

Camera Remove

Use following command to remove closest camera

/camera_remove

CreateOutfitMenu

Use following export to open outfit creator menu

exports['p_policejob']:CreateOutfitMenu()

You can also use a command

/police_outfit

RemoveOutfitMenu

Use following export to open outfit remove menu

exports['p_policejob']:RemoveOutfitMenu()

You can also use a command

/remove_police_outfit

getRadarPlates

Use following exports to get front or rear antena plate

local frontPlate = exports['p_policejob']:frontPlate()

Return:

  • frontPlate: string or nil

local rearPlate = exports['p_policejob']:rearPlate()

Return:

  • rearPlate: string or nil


hasTrackingBand

Use following statebag to check if player has tracking band

Player(playerId).state.hasTrackingband
  • playerId: number

    • Existing player server id

Return:

  • state: boolean

PreviousManage TrafficNextServer Exports

Last updated 4 months ago

👮