Skip to main content

addXP

Export Syntax
exports['tuncion_xp']:addXP(PlayerID, XP, Reason)

PARAMETER

  1. PlayerID (INT) -> PlayerID
  2. XP (INT) -> How much XP should be added e.g. 50XP
  3. 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