OnPlayerDeath Issues
#1

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.

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;
}
Reply


Messages In This Thread
OnPlayerDeath Issues - by king s dm - 05.06.2010, 09:08
Re: OnPlayerDeath Issues - by king s dm - 05.06.2010, 09:19

Forum Jump:


Users browsing this thread: 1 Guest(s)