SA-MP Forums Archive
Kill-list - 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)
+--- Thread: Kill-list (/showthread.php?tid=447400)



Kill-list - Mafiaday - 29.06.2013

Hi,

Is it possible to make it so that a surtent player does not show up on the kill-list?

Thanks,

Mafiaday


Re: Kill-list - Scenario - 29.06.2013

Use an if-statement to determine if the playerid/killerid under OnPlayerDeath is the same ID as the person who you don't want to show up in the kill-list. If it's not the same ID, execute the ShowDeathMessage (or w/e the function is). Otherwise, do nothing.

https://sampwiki.blast.hk/wiki/Scripting_Basics