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
- Data (OGGETTO) -> vero o falso
- newRank (BOOL) -> Il giocatore ha raggiunto un nuovo livello?
- change (INT) -> Valore di cambiamento es. 5XP