Increase weapon impact - 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: Increase weapon impact (
/showthread.php?tid=105475)
Increase weapon impact -
[WS]Hyper - 29.10.2009
Is it possible to increase the damage that a katana does? I guess there would need to be a callback that gets called when a player loses health but there isn't..
But any way?
Re: Increase weapon impact -
dirkblok - 29.10.2009
I was told that it was impossible,
But what you could do is try to edit the knock out filterscript, and change the weapon to katana, I did it to increase the damage of a knife.
You'll have 50 % chance then of killing someone with one hit, so you'll probably have someone killed in 2 hits.
Respuesta: Re: Increase weapon impact -
anonymousx - 31.10.2010
You're wrong, there are some functions like IsPlayerNearToPlayer(or something like this), detect the keys pressed(KEY_FIRE) and check the health(old health - new heath = damage).
I hope it helped you.
Re: Increase weapon impact -
Kitten - 31.10.2010
so what u are saying if u shoot a m4 or some other weapon the player u shot they will lose more hp instead of the regular?
Re: Increase weapon impact -
Scenario - 31.10.2010
I know Seif_ had released a body-part's system which could do this type of thing...