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