removeXP
📢 El evento ocurre cuando un jugador pierde XP
RegisterNetEvent("tuncion_xp:log:removeXP")
AddEventHandler("tuncion_xp:log:removeXP", function(data)
-- Do your magic here 💫
end)
Retorna
- Data (OBJETO) -> verdadero o falso
- newRank (BOOL) -> ¿Ha alcanzado el jugador un nuevo nivel?
- change (INT) -> Valor de cambio p. ej. 5XP