Zum Hauptinhalt springen

addXP

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

PARAMETER

  1. PlayerID (INT) -> PlayerID
  2. XP (INT) -> Wie viel XP hinzugefügt werden soll, z.B. 50XP
  3. Reason (STRING) (OPTIONAL) -> Grund hinzufügen, z.B. 2 Stunden gespielt
exports['tuncion_xp']:addXP(source, 50) --> Gibt Tabelle mit Informationen zurück
exports['tuncion_xp']:addXP(source, 50, 'XYZ') --> Gibt Tabelle mit Informationen zurück