Pickle Mods
  • Pickle Mods
  • Paid Resources
    • Casinos
      • Installation
      • Tutorial
    • In-Game Store
      • Installation
      • Exports
      • Tebex & Coin Products
      • PTS Commands
    • Rewards System
      • Installation
      • Exports
      • Snippets
    • Bail & Bounty
      • Installation
      • Exports
    • Firefighter Job
      • Installation
      • Commands
      • Exports
      • Snippets
    • Advanced Crafting
      • Installation
    • Electrician Job
      • Installation
    • Construction Job
      • Installation
    • Hunting
      • Installation
    • Documents
      • Installation
      • Exports & Examples
    • Dealership
      • Installation
    • Police Tools
      • Installation
  • Free Resources
    • Pickle Airport
      • Installation
      • Hotfixes
    • Pickle Consumables
      • Installation
      • Hotfixes
    • Pickle Farming
      • Installation
    • Pickle Metal Detector
      • Installation
    • Pickle Payments
      • Installation
    • Pickle Prisons
      • Installation
      • Commands
      • Exports
      • Events
      • Snippets
    • Pickle Rentals
      • Installation
    • Pickle Slapboxing
      • Installation
    • Pickle Taxi Job
      • Installation
    • Waypoints
      • Installation
      • Exports
Powered by GitBook
On this page
  • Client
  • Server
  1. Free Resources
  2. Pickle Prisons

Events

This is the list of events in this resource.

Client

TriggerEvent("pickle_prisons:jailDialog")

-- Opens a jail dialog that lets you select the prisoner, prison, and sentence.
TriggerEvent("pickle_prisons:jailDialog")

Server

TriggerServerEvent("pickle_prisons:jailPlayer", target, time, [opt] jailName)

-- If you need a jail event in your F6 menu, this is it.
TriggerServerEvent("pickle_prisons:jailPlayer", target, time)
-- Sends to state prison.
TriggerServerEvent("pickle_prisons:jailPlayer", target, time, "state")

TriggerServerEvent("pickle_prisons:jailPlayer", target)

-- If you need a unjail event in your F6 menu, this is it.
TriggerServerEvent("pickle_prisons:unjailPlayer", target)
PreviousExportsNextSnippets

Last updated 1 year ago