Skip to main content

AddPlayerData

Adds an amount to a player’s specified data field.
exports.lation_detecting: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", "experience", etc).
amount
number
required
The amount to add to the specified data type.
Looking for an export we don’t have listed here? Contact us and we’ll do what we can!