The source project of this merge request has been removed.
Add PlayerExit() Hook
I decided to make a new hook in SRB2 called PlayerExit() which requires no arguments. By the way, if you want to use functions that affect players make sure you use for player in players.iterate(). I made the following test Lua script for this new feature: playerexit_test.lua. By the way, I tested this Lua script, and this new feature worked like it is supposed to.