Kamil

Results 3 comments of Kamil

Add this on logout: player:removeAllConditions() function Player.removeAllConditions(self) local conditions = { CONDITION_POISON, CONDITION_FIRE, CONDITION_ENERGY, CONDITION_PARALYZE, CONDITION_DRUNK, CONDITION_DROWN, CONDITION_FREEZING, CONDITION_DAZZLED, CONDITION_CURSED, CONDITION_BLEEDING, CONDITION_HASTE } for i = 1, #conditions do self:removeCondition(conditions[i])...

Function to functions.lua and execution in logout.lua