updateExperience

Update the player's experience

Arguments

Label
Explained
Type
Example

amount

The amount to add/subtract

number

100

disableDouble

Whether or not to disable the double experience (optional)

boolean

false (default)

*disableDouble disables the double xp whether it is purchased by the player or a global double event

Last updated