Passa al contenuto principale

resetPlayerXP

📢 L'evento si verifica quando l'XP di un giocatore viene azzerato

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

Restituisce

  1. Data (OGGETTO) -> vero o falso
    1. rank (INT) -> Il rango attuale del giocatore
    2. totalXP (INT) -> L'XP totale attuale del giocatore