bugged blueberry & senddeathmessage
#6

There must be some code that tried to change the player's skin/spawn info or state when the player dies. Check for OnPlayerDeath in other running scripts, give your code of your AddPlayerClass or anything that uses SetSpawnInfo.

I'm pretty sure there is nothing wrong on your OnPlayerDeath code, because it's just basically sending messages and incrementing player variable's except the part where you are trying to change the human to zombies:
Код:
if(team[playerid] == HUMAN) team[playerid] = ZOMBIE;
Comment that line and try again, if you respawned normally but didn't change into a zombie yet, then the problem is another callback like a Timer/OnPlayerUpdate that tracks the team[playerid] variable when it's changed where it gets triggerred to change the player's Spawn Info/Skin/Class.

If you do not know where to find, just look for the line where it sends message "[INFECTION] %s has become a zombie". It should be around there, show us the code if you don't know how to fix it.
Reply


Messages In This Thread
bugged blueberry & senddeathmessage - by kloning1 - 23.12.2016, 10:49
Re: bugged blueberry & senddeathmessage - by oMa37 - 23.12.2016, 10:51
Re: bugged blueberry & senddeathmessage - by kloning1 - 23.12.2016, 11:11
Re: bugged blueberry & senddeathmessage - by oMa37 - 23.12.2016, 11:25
Re: bugged blueberry & senddeathmessage - by kloning1 - 23.12.2016, 12:36
Re: bugged blueberry & senddeathmessage - by RoboN1X - 23.12.2016, 12:39
Re: bugged blueberry & senddeathmessage - by kloning1 - 23.12.2016, 12:51
Re: bugged blueberry & senddeathmessage - by RoboN1X - 23.12.2016, 13:11
Re: bugged blueberry & senddeathmessage - by kloning1 - 24.12.2016, 03:54
Re: bugged blueberry & senddeathmessage - by kloning1 - 25.12.2016, 00:30

Forum Jump:


Users browsing this thread: 1 Guest(s)