[Debbug] OnPlayerDeath
#2

You seem to be checking most of them but you got one wrong:
pawn Код:
if(PlayerinMMDM[killerid] == 1 && killerid != INVALID_PLAYER_ID)
the check about killerid not equal to INVALID_PLAYER_ID must be first. Few lines after, there is also this line:
pawn Код:
if(InDual[playerid] == 1 || InDual[killerid] == 1)
which does not check.

I suggest you to compile with debug info (pawn.cfg file into pawno folder and write -d3 in it) and you'll be getting the exact line.
Reply


Messages In This Thread
[Debbug] OnPlayerDeath - by Kucin666 - 17.05.2016, 12:02
Re: [Debbug] OnPlayerDeath - by Konstantinos - 17.05.2016, 12:07
Re: [Debbug] OnPlayerDeath - by Kucin666 - 17.05.2016, 12:46

Forum Jump:


Users browsing this thread: 1 Guest(s)