Skip to main content

resetPlayerXP

📢 Event occurs when a player's XP is reset

RegisterNetEvent("tuncion_xp:log:resetPlayerXP")
AddEventHandler("tuncion_xp:log:resetPlayerXP", function(data)
-- Do your magic here 💫
end)

Returns

  1. Data (OBJECT) -> true or false
    1. rank (INT) -> Players current rank
    2. totalXP (INT) -> Players current total XP