21.07.2012, 16:20
Hello guys , i have this code
Now my problem is like this :
Player A Attacks Player B
Player B got 5 HP , player B jumps from high way , he death evaded , and now , on death list it appeared like Player B is wasted , i want the death list to Assign the kill to Player A , and the reason would be the last weapons player A used on player B before his death
Sound complicated i know , but any help would be appreciated
pawn Код:
OnPlayerDeath(playerid,killerid,reason)
{
SendDeathMessage(killerid , playerid , reason);
//rest of my code
return 1;
}
Player A Attacks Player B
Player B got 5 HP , player B jumps from high way , he death evaded , and now , on death list it appeared like Player B is wasted , i want the death list to Assign the kill to Player A , and the reason would be the last weapons player A used on player B before his death
Sound complicated i know , but any help would be appreciated