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
  • forceUncuff
  • draggingPlayer
  • draggedBy
  • carryingPlayer
  • carriedBy
  • isCuffed
  • cuffType
  • hasHeadBag
  1. Assets & Guides
  2. Police Job
  3. Server Exports

Interactions

forceUncuff

Force uncuff player through script.

exports['p_policejob']:forceUncuff(playerId)
  • playerId: number

    • Existing player id


draggingPlayer

Get the player you are currently dragging or other player dragging.

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

    • Existing player server id

Return:

  • state: boolean or nil


draggedBy

Get the player which currently dragging you or other player.

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

    • Existing player server id

Return:

  • state: boolean or nil


carryingPlayer

Get the player you are currently carrying or other player carrying.

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

    • Existing player server id

Return:

  • state: boolean or nil


carriedBy

Get the player which currently carry you or other player.

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

    • Existing player server id

Return:

  • state: boolean or nil


isCuffed

Get the player cuff state.

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

    • Existing player server id

Return:

  • state: boolean or nil


cuffType

Get the player cuff type.

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

    • Existing player server id

Return:

  • type: "cuffs" / "rope" or "none"


hasHeadBag

Check if player has headbag on head.

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

    • Existing player server id

Return:

  • state: boolean or nil

PreviousEvidence SystemNextJail System

Last updated 4 months ago

👮