I was doing some optimizations on my server scripts and I was in doubt about events.
When a player login, an event is registered:
But... If the player logout without dying? The event continue registered?
If yes, can it cause an unnecessary memory spent?
When a player login, an event is registered:
Code:
registerCreatureEvent(cid, "PlayerDeath")
But... If the player logout without dying? The event continue registered?
If yes, can it cause an unnecessary memory spent?