Exports and Events

Events - Client

lunar_contracts:openTablet- Opens the tablet UI, make sure to disable the item check to fully use this.

TriggerEvent('lunar_contracts:openTablet')

Exports - Server

getPlayerCrypto - Returns the player's crypto balance

exports['lunar_heistcontracts']:getPlayerCrypto(identifier) -- framework identifierhicle plate

getPlayerExperience- Returns the player's XP

exports['lunar_heistcontracts']:getPlayerExperience(identifier) -- framework identifier

addPlayerCrypto- Add the specified amount to the player's current crypto balance

exports['lunar_heistcontracts']:addPlayerCrypto(identifier, amount) -- framework identifierhicle plate

addPlayerExperience- Add the specified amount to the player's current XP

exports['lunar_heistcontracts']:addPlayerExperience(identifier, amount) -- framework identifier

removePlayerCrypto- Removes the specified amount from the player's current crypto balance

exports['lunar_heistcontracts']:removePlayerCrypto(identifier, amount) -- framework identifierhicle plate

removePlayerExperience- Removes the specified amount from the player's current XP

exports['lunar_heistcontracts']:removePlayerExperience(identifier, amount) -- framework identif

Last updated