Help bug onplayerdeath skin shot
#2

pawn Код:
// on top
new pKillID[MAX_PLAYERS], pKillReason[MAX_PLAYERS];

// OnPlayerGiveDamage
pKillID[damagedid] = playerid;
pKillReason[damagedid] = weaponid;

// OnPlayerDeath
if(pKillID[playerid] != INVALID_PLAYER_ID)
{
    killerid = pKillID[playerid];
    reason = pKillReason[playerid];

    pKillID[playerid] = INVALID_PLAYER_ID;
    pKillReason[playerid] = 54;
}
Reply


Messages In This Thread
Help bug onplayerdeath skin shot - by luccagomes15 - 13.12.2013, 11:13
Re: Help bug onplayerdeath skin shot - by AssBlaster - 13.12.2013, 14:04
Re: Help bug onplayerdeath skin shot - by maikons - 18.12.2013, 10:14

Forum Jump:


Users browsing this thread: 1 Guest(s)