26.03.2014, 08:25
First of all, do you know what is OnPlayerDeath callback? when a player dies and you set his position to X Y Z, is the X Y Z even defined? and setting his position wont do anything since he will respawn, however you probably have a missing bracket which is not in this callback try to use a bracketfinder.