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 plategetPlayerExperience- Returns the player's XP
exports['lunar_heistcontracts']:getPlayerExperience(identifier) -- framework identifieraddPlayerCrypto- Add the specified amount to the player's current crypto balance
exports['lunar_heistcontracts']:addPlayerCrypto(identifier, amount) -- framework identifierhicle plateaddPlayerExperience- Add the specified amount to the player's current XP
exports['lunar_heistcontracts']:addPlayerExperience(identifier, amount) -- framework identifierremovePlayerCrypto- Removes the specified amount from the player's current crypto balance
exports['lunar_heistcontracts']:removePlayerCrypto(identifier, amount) -- framework identifierhicle plateremovePlayerExperience- Removes the specified amount from the player's current XP
exports['lunar_heistcontracts']:removePlayerExperience(identifier, amount) -- framework identifLast updated