OTHERPLANET DOCS
  • 🪐About US
  • 💻Scripts
    • 🔫OP Crime Organisations
      • Installation
      • Config Files
      • Customization
      • Tablet as Item
      • Global States
      • Exports
        • Server Side
    • 🚘OP Mechanic Job
      • Installation
      • Config File
      • Setup Jobs
      • Setup Dispatch
      • Get Duty
      • Update Tablet Stats
      • Notifications/Progressbar
      • Discord Logs
    • 🗒️OP Requests
      • Installation
      • Config
      • Usage
    • 🌇OP HUD
      • Config File
      • Instalation
      • Progress Bar Usage
      • Notify Usage
      • Alcohol Status & Stamina
    • 🏎️OP Vehicle Theft
      • Installation
      • OX Inventory
      • Translate Sounds
      • Config
      • Customization
    • 🅿️OP Garages V1 (OLD)
      • Installation
      • Config
        • Main
        • Garages Locations
        • Vehicles and Brands
      • Customization
      • Vehicle Types
      • Jobs
      • Exports
      • Other
Powered by GitBook
On this page
  • getPlayerOrganisation
  • getOrganisation
  • Server Side Events:
  1. Scripts
  2. OP Crime Organisations
  3. Exports

Server Side

There’s no matching export for you? Contact us through our Discord server, and we will do our best to assist you!

getPlayerOrganisation


Return player organisation data object.

exports.op-crime:getPlayerOrganisation(identifier)
  • identifier: string

Data Object:

  • orgIndex: number

  • player: table

    • identifier: string

    • totalTime: string

    • rank: string

    • status: string

  • orgData: table

getOrganisation


Return organisation object.

exports.op-crime:getOrganisation(id)
  • id: number


Server Side Events:

Add Organisation EXP

op-crime:addOrganisationEXP

Data:

  • orgId: number;

  • amount: number;

Example usage:

TriggerEvent('op-crime:addOrganisationEXP', 5, 250)

Add Organisation Money

op-crime:addOrganisationMoney

Data:

  • orgId: number;

  • amount: number;

  • account: string; (balance/dirtymoney)

Example usage:

TriggerEvent('op-crime:addOrganisationMoney', 5, 100000, "dirtymoney")

Remove Organisation Money

op-crime:removeOrganisationMoney

Data:

  • orgId: number;

  • amount: number;

  • account: string; (balance/dirtymoney)

Example usage:

TriggerEvent('op-crime:removeOrganisationMoney', 5, 50000, "balance")

Add Organisation Missions Done

op-crime:addOrgMissionsDone

Data:

  • orgId: number;

  • amount: number;

Example usage:

TriggerEvent('op-crime:addOrgMissionsDone', 5, 15)

Add Organisation Zones Captured

op-crime:addZonesCaptured

Data:

  • orgId: number;

  • amount: number;

Example usage:

TriggerEvent('op-crime:addZonesCaptured', 5, 8)
PreviousExportsNextOP Mechanic Job

Last updated 22 days ago

💻
🔫