removeXP
📢 Zdarzenie występuje, gdy gracz traci XP
RegisterNetEvent("tuncion_xp:log:removeXP")
AddEventHandler("tuncion_xp:log:removeXP", function(source, data)
-- Do your magic here 💫
end)
Zwraca
- Source (INT) -> PlayerID
- Data (OBJECT) -> true lub false
- newRank (BOOL) -> Czy gracz osiągnął nowy poziom?
- change (INT) -> Wartość zmiany np. 5XP