Death SetSpawnInfo seems to not work.
#9

Quote:
Originally Posted by Nero_3D
Посмотреть сообщение
You get autospawned after death as it always has been, otherwise you prevent it by script (it seem you have somewhere ForceClassSelection)

Here are way to many open question, why is it delayed, why is it in OnPlayerDeath not in OnPlayerSpawn (is the player able to switch classes while being alive?), do you have in OnPlayerSpawn something that works against it like SetPlayerPos and ResetPlayerWeapons? Doesn't OnPlayerDeath has a reason parameter ? Does the code even get called (maybe the hook isn't working)?

Put SetSpawnInfo in OnPlayerDeath in a new pwn file and test it than you know if it works or not
I do not have ForceClassSeleciton,
It is delayed to in order show the death thingy from gta sadefault,
No he's not able to switch, they must use /changeteam
Never used OnPlayerSpawn in my gamemode.
OnPlayerdeath do have a reason parameter, but this works fine.
The hooking is fine.
Reply


Messages In This Thread
Death SetSpawnInfo seems to not work. - by Luicy. - 05.08.2016, 19:11
Re: Death SetSpawnInfo seems to not work. - by Luicy. - 06.08.2016, 00:38
Re: Death SetSpawnInfo seems to not work. - by SickAttack - 06.08.2016, 01:41
Re: Death SetSpawnInfo seems to not work. - by Luicy. - 06.08.2016, 01:54
Re: Death SetSpawnInfo seems to not work. - by Shinja - 06.08.2016, 02:00
Re: Death SetSpawnInfo seems to not work. - by SickAttack - 06.08.2016, 02:17
Re: Death SetSpawnInfo seems to not work. - by Luicy. - 06.08.2016, 02:25
Re: Death SetSpawnInfo seems to not work. - by Nero_3D - 06.08.2016, 02:28
Re: Death SetSpawnInfo seems to not work. - by Luicy. - 06.08.2016, 22:07
Re: Death SetSpawnInfo seems to not work. - by SickAttack - 06.08.2016, 22:54

Forum Jump:


Users browsing this thread: 1 Guest(s)