Skip to content

Add PlayerExit() Hook

ChaoLoveIceMDBoy requested to merge (removed):player_exit_hook into next

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.

Merge request reports