Aller au contenu principal

removeXP

📢 L'événement se produit lorsqu'un joueur perd des XP

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

Retourne

  1. Données (OBJECT) -> vrai ou faux
    1. nouveauRang (BOOL) -> Le joueur a-t-il atteint un nouveau niveau ?
    2. changement (INT) -> Valeur de changement par ex. 5XP