SA-MP Forums Archive
Anti-DM - 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: Anti-DM (/showthread.php?tid=126000)



Anti-DM - Moglizorz. - 06.02.2010

Anyone know anything along the lines of an Anti-DM?

So if TEAM_COP shoots TEAM_MEDIC, the medic will loose no health.
I am unaware of any ifplayerisshooting variable so would I have to do playerdistance and something?

Thanks in advance..


Re: Anti-DM - kamilbam - 06.02.2010

Just set god mod for everybody with health '99999'


Re: Anti-DM - Moglizorz. - 06.02.2010

Quote:
Originally Posted by kamilbam
Just set god mod for everybody with health '99999'
Urm.. then when they stopped shooting... they would have godmode.


Re: Anti-DM - DeathOnaStick - 06.02.2010

Quote:
Originally Posted by Moglizorz.
Quote:
Originally Posted by kamilbam
Just set god mod for everybody with health '99999'
Urm.. then when they stopped shooting... they would have godmode.
Yea. Shouldn't it be like this? If not, explain what you exacly want.


Re: Anti-DM - Moglizorz. - 06.02.2010

Well lets say red players shooting blue players is dming.

If a red player shoots a blue player, the blue player should loose no health when he does.
If then a pink player comes along and shoots the blue player, he looses health.