OnPlayerDeath is not getting called
#1

Whether in a filterscript nor in my gamemode..
I wrote this under OnPlayerDeath:
Код:
public OnPlayerDeath(playerid, killerid, reason)
{
	printf("1");
	PlayerTextDrawSetString(playerid, HudTd[playerid][29], "0%");
	Tot[playerid]=true;
	pInfo[playerid][survivaltime]=-1;
	SurvivalCount(playerid);
	for(new i=0; i<38; i++)
	{
		pInventar[playerid][i]=-1;
	}
	return 1;
}
Not even the "1" is "printed". Nothing happens. Same with a filterscript.
The crashdetect plugin also "printed" nothing.

All my includes i use don't use OnPlayerDeath in any way - so what is causing this?
My first thought was OnPlayerTakeDamage, so i commented it out but nothing changed.

Plugins i use: FCNPC, MapAndreas, streamer, mysql, crashdetect

Does somebody know whats going on with my gamemode or whatever is causing this?
Reply


Messages In This Thread
OnPlayerDeath is not getting called - by MichiEXE - 23.05.2016, 18:29
Re: OnPlayerDeath is not getting called - by 1fret - 23.05.2016, 18:49
Re: OnPlayerDeath is not getting called - by MichiEXE - 23.05.2016, 18:55

Forum Jump:


Users browsing this thread: 1 Guest(s)