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