Skip to main content

addPlayerData

Adds an amount to a player’s specified data field.
exports.lation_coke:addPlayerData(source, type, amount)
source
string
required
The source (player ID) to add data too.
type
string
required
The data type to modify (e.g., "level", "exp", etc).
amount
number
required
The amount to add to the specified data type.

buyLab

Purchase a lab for a given player.
exports.lation_coke:buyLab(source, labId)
source
string
required
The source (player ID) buying the lab.
labId
number
required
The lab ID being purchased.
Looking for an export we don’t have listed here? Contact us and we’ll do what we can!