23.05.2016, 18:29
Whether in a filterscript nor in my gamemode..
I wrote this under OnPlayerDeath:
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?
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;
}
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?


