addXP
🔧 Available since Version 1.0.0!
exports['tuncion_xp']:addXP(PlayerID, XP, Reason)
PARAMETER
PlayerID (INT) -> PlayerID
XP (INT) -> How much XP should be added e.g. 50XP
Reason (STRING) (OPTIONAL) -> Add a reason e.g. Played 2 hours
exports['tuncion_xp']:addXP(source, 50) --> Returns table with information
exports['tuncion_xp']:addXP(source, 50, 'XYZ') --> Returns table with information
Last updated
Was this helpful?