02.06.2015, 18:11
1. Are you using any filterscripts that could cause this weird behaviour?
2. As mentioned above by jamester, you don't need to set position on OnPlayerDeath, because the OnPlayerSpawn will get called afterwards.
3. Did you add Died[MAX_PLAYERS] in frustration aswell? If not, remember to clear it when it has done it's job (set to 0 when spawned etc)
4. Don't call SpawnPlayer on OnPlayerDeath, read number 2 above.
5. It's smart to add messages on each callback for debugging, to see what happens. When you see a message, you will know where in the code what happens.
Try the above-mentioned stuff and se if it could solve your issues
2. As mentioned above by jamester, you don't need to set position on OnPlayerDeath, because the OnPlayerSpawn will get called afterwards.
3. Did you add Died[MAX_PLAYERS] in frustration aswell? If not, remember to clear it when it has done it's job (set to 0 when spawned etc)
4. Don't call SpawnPlayer on OnPlayerDeath, read number 2 above.
5. It's smart to add messages on each callback for debugging, to see what happens. When you see a message, you will know where in the code what happens.
Try the above-mentioned stuff and se if it could solve your issues