Server

Export to Get Organization Name

exports['jc_organizaciones']:GetOrgName(identifier)

Parameters Explained

  • identifier: Player ID, for ESX and QB Core we take their CitizenID


Export to Obtain Organization Label

exports['jc_organizaciones']:GetOrgLabel(identifier)

Parameters Explained

  • identifier: Player ID, for ESX and QB Core we take their CitizenID


Export to Get Level

exports['jc_organizaciones']:GetOrgLevel(orgName)

Parameters Explained

  • orgName: Organization's label


Expor to Add Level to the Organization

exports['jc_organizaciones']:AddOrgLevel(orgName, amount)

Parameters Explained

  • orgName: Organization's label

  • amount: Remember that the maximum level is 10


Export to remove the organization level

Parameters Explained

  • orgName: Organization's label


Export to Get Organization ID

Parameters Explained

  • identifier: Player ID, for ESX and QB Core we take their CitizenID


Export to Get player rank

Parameters Explained

  • identifier: Player ID, for ESX and QB Core we take their CitizenID


Export to see if the player is the boss or not

Parameters Explained

  • identifier: Player ID, for ESX and QB Core we take their CitizenID


Export to View all members of the organization

Parameters Explained

  • label: Label of the organization you want to get the money from

  • type: Here you specify what you want it to return


Export to see the organization's money

Parameters Explained

  • label: Label of the organization you want to get the money from.


Export to add money to an organization

Parameters Explained

  • label: Label of the organization you want to get the money from.

  • amount: Amount to deposit


Export to remove money from an organization

Parameters Explained

  • label: Label of the organization you want to get the money from.

  • amount: Amount to withdraw

Last updated