OnPlayerDeath spawn problem?
#5

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
Reply


Messages In This Thread
OnPlayerDeath spawn problem? - by baba1234 - 01.06.2015, 21:20
Re: OnPlayerDeath spawn problem? - by J0sh... - 01.06.2015, 21:21
Re: OnPlayerDeath spawn problem? - by baba1234 - 01.06.2015, 21:22
Re: OnPlayerDeath spawn problem? - by baba1234 - 02.06.2015, 17:48
Re: OnPlayerDeath spawn problem? - by denNorske - 02.06.2015, 18:11
Re: OnPlayerDeath spawn problem? - by PowerPC603 - 02.06.2015, 20:35

Forum Jump:


Users browsing this thread: 1 Guest(s)