Aller au contenu principal

addXP

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

PARAMÈTRE

  1. PlayerID (INT) -> PlayerID
  2. XP (INT) -> Combien de XP doit être ajouté, par exemple 50XP
  3. Reason (STRING) (OPTIONNEL) -> Ajouter une raison, par exemple Joué 2 heures
exports['tuncion_xp']:addXP(source, 50) --> Retourne une table avec des informations
exports['tuncion_xp']:addXP(source, 50, 'XYZ') --> Retourne une table avec des informations