05.06.2010, 09:08
Hello!
I'm experiencing issues with OnPlayerDeath callback. Namely, server constantly doesn't reach one point in this callback.
I don't know how to explain it to you, so I'll post what is going on.
I'm experiencing issues with OnPlayerDeath callback. Namely, server constantly doesn't reach one point in this callback.
I don't know how to explain it to you, so I'll post what is going on.
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
if () // For example, here I have reason == 255
{
return 1;
}
if () // Here I have gTeam[playerid] == gTeam[killerid]
{
retrurn 1;
}
printf("debug"); // This point will not be reached, and I'll not get "debug" message, I'm not sure why is this happening
return 1;
}