Passa al contenuto principale

setXP

Sintassi di Esportazione
exports['tuncion_xp']:setXP(PlayerID, XP, Reason)

PARAMETRO

  1. PlayerID (INT) -> PlayerID
  2. XP (INT) -> A quale XP dovrebbe essere impostato ad esempio 50XP
  3. Reason (STRING) (OPZIONALE) -> Aggiungi un motivo ad esempio Giocato 2 ore
exports['tuncion_xp']:setXP(source, 50) --> Restituisce una tabella con informazioni
exports['tuncion_xp']:setXP(source, 50, 'XYZ') --> Restituisce una tabella con informazioni