SA-MP Forums Archive
Need Help. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Need Help. (/showthread.php?tid=274806)



Need Help. - ServerRestart - 07.08.2011

Hi,
---
In my server there is no killbox icons, only player connect and disconnect icons, i need the icons were a player kill another player, and it show in the kill box, thanks


How do i add all of them? ^


Re: Need Help. - OleKristian95 - 07.08.2011

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    SendDeathMessage(killerid,playerid,reason);
    return; 1
}
Just place "SendDeathMessage(killerid,playerid,reason);" below "OnPlayerDeath" and you will have what you want


Re: Need Help. - ServerRestart - 07.08.2011

Never worked for me? :/


Re: Need Help. - Kingunit - 07.08.2011

What he said above ^^

EDIT: Show your OnPlayerDeath code.


Re: Need Help. - ServerRestart - 07.08.2011

Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    SendDeathMessage(killerid,playerid,reason);
	PlayerInfo[killerid][pKills]++;
    PlayerInfo[playerid][pDeaths]++;
	return 1;
    

}
When i type /kill i dont get the Icon
Or the other's


Re: Need Help. - Kingunit - 07.08.2011

Maybe the suicide is diabled. What if someone kills you with a weapon?


Re: Need Help. - ServerRestart - 07.08.2011

Weapon icons show, but not the suicide, car kill icons and heli kill icon, hmm


Re: Need Help. - ServerRestart - 07.08.2011

Any idea why they dont show anyone?


Re: Need Help. - Kingunit - 07.08.2011

Make a list with all reasons you want.


Re: Need Help. - ServerRestart - 07.08.2011

All of them, if you can