Aller au contenu principal

addRank

📢 L'événement se produit lorsqu'un rang de joueur est ajouté

RegisterNetEvent("tuncion_xp:log:addRank")
AddEventHandler("tuncion_xp:log:addRank", function(source, data)
-- Do your magic here 💫
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 de XP des joueurs