SA-MP Forums Archive
How to make an unfair death? - 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: How to make an unfair death? (/showthread.php?tid=218803)



How to make an unfair death? - grand.Theft.Otto - 31.01.2011

I have a /duty command for admins, which sets player to God mode with Wuzi skin and minigun. The use of this command is to check for hackers or something else related to cheaters.

What I want is to make the player that I shoot with the minigun, have an unfair death (no losing money, etc..) and I also want it to NOT display a death icon on the death list.

How can I do this using variables?

Something like:
pawn Код:
new AdminOnDuty;
and
pawn Код:
new UnfairPlayerDeath;
^ Thats just an example of what variables I could use. Does anyone have an idea of how to make this work properly?

Thanks.


Re: How to make an unfair death? - Macluawn - 31.01.2011

In OnPlayerDeath check if the killerid is admin on duty and if the weapon is minigun.