Passa al contenuto principale

removeXP

📢 L'evento si verifica quando un giocatore perde XP

RegisterNetEvent("tuncion_xp:log:removeXP")
AddEventHandler("tuncion_xp:log:removeXP", function(data)
-- Fai la tua magia qui 💫
end)

Restituisce

  1. Data (OGGETTO) -> vero o falso
    1. newRank (BOOL) -> Il giocatore ha raggiunto un nuovo livello?
    2. change (INT) -> Valore di cambiamento es. 5XP