addXP
Sintassi di Esportazione
exports['tuncion_xp']:addXP(PlayerID, XP, Reason)
PARAMETRO
- PlayerID (INT) -> PlayerID
- XP (INT) -> Quanta XP dovrebbe essere aggiunta, ad esempio 50XP
- Reason (STRING) (OPZIONALE) -> Aggiungi un motivo, ad esempio Giocato 2 ore
exports['tuncion_xp']:addXP(source, 50) --> Restituisce una tabella con informazioni
exports['tuncion_xp']:addXP(source, 50, 'XYZ') --> Restituisce una tabella con informazioni