Aller au contenu principal

resetPlayerXP

📢 L'événement se produit lorsqu'XP d'un joueur est réinitialisé

RegisterNetEvent("tuncion_xp:log:resetPlayerXP")
AddEventHandler("tuncion_xp:log:resetPlayerXP", function(source, data)
-- Faites votre magie ici 💫
end)

Retourne

  1. Source (INT) -> PlayerID
  2. Données (OBJECT) -> vrai ou faux
    1. rang (INT) -> Rang actuel des joueurs
    2. totalXP (INT) -> Total actuel d'XP des joueurs