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



Possible? - bartje01 - 22.07.2010

Hey guys. I want to have a knife giving more damage. I want it to hit -25 Health.
How? :P

thanks in regards


Re: Possible? - bartje01 - 22.07.2010

Bumbie?:P


Re: Possible? - Kar - 22.07.2010

erm maybe try keystatechange key_fire if getplayerweapon etc and that kinda shit


Re: Possible? - Jeffry - 22.07.2010

Yeah, something like:

If KEY_FIRE it checks if a player is in a circle of 1m and if true, he sets the players life -25.