SA-MP Forums Archive
[FilterScript] [FS] Headshot System ("BOOM Headshots") - 1 shot to head = instant kill - 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] [FS] Headshot System ("BOOM Headshots") - 1 shot to head = instant kill (/showthread.php?tid=138623)

Pages: 1 2


Re: [FS] Headshot System ("BOOM Headshots") - 1 shot to head = instant kill - lameguy - 02.04.2010

Thanks for comments.


Re: [FS] Headshot System ("BOOM Headshots") - 1 shot to head = instant kill - RoamPT - 02.04.2010

Is was testing this out with some guys, and i must say this is pretty good, even one was driving a car towards me on a curve and i managed to give a headshot on him, this is detecting pretty well though.


Re: [FS] Headshot System ("BOOM Headshots") - 1 shot to head = instant kill - .:HustLeR:. - 02.04.2010

Hi and this fs perfectly works ? please answer ?


Re: [FS] Headshot System ("BOOM Headshots") - 1 shot to head = instant kill - [03]Garsino - 02.04.2010

How can I make it bigger, because the current range is pretty small.


Re: [FS] Headshot System ("BOOM Headshots") - 1 shot to head = instant kill - Rlz_Skiaffo - 03.04.2010

To increase the range of the headshots, just increase the 50 in this line:

for (new Float:i = 0.0; i < 50; i = i + 0.5) {

put like 200 and u'll be fine. But remember this is a for, and putting a 200 may be laggy!


Re: [FS] Headshot System ("BOOM Headshots") - 1 shot to head = instant kill - [03]Garsino - 03.04.2010

Quote:
Originally Posted by Rlz_Skiaffo
To increase the range of the headshots, just increase the 50 in this line:

for (new Float:i = 0.0; i < 50; i = i + 0.5) {

put like 200 and u'll be fine. But remember this is a for, and putting a 200 may be laggy!
You sure that wont mess up with anything? Like angles and stuff?


Re: [FS] Headshot System ("BOOM Headshots") - 1 shot to head = instant kill - Rlz_Skiaffo - 03.04.2010

Quote:
Originally Posted by [03
Garsino ]
Quote:
Originally Posted by Rlz_Skiaffo
To increase the range of the headshots, just increase the 50 in this line:

for (new Float:i = 0.0; i < 50; i = i + 0.5) {

put like 200 and u'll be fine. But remember this is a for, and putting a 200 may be laggy!
You sure that wont mess up with anything? Like angles and stuff?
I am 100% sure that increasing that number you will increase the range of the headshots. And if I am wrong, you just need to put 50 back, no one gets hurt for it :P


Re: [FS] Headshot System ("BOOM Headshots") - 1 shot to head = instant kill - lameguy - 03.04.2010

Quote:
Originally Posted by Seif_
You should mention that this only works with a sniper(or any weapon but you have to be very close to the player).
Quote:
Originally Posted by Johnson_boy
What is it?
This script detects headshots shot with sniper rifle.
When you hit another player with sniper to head, another player instantly dies.
Well i said it in the main post, maybe not clearly enough.
Anyways, as you said, it only works with sniper, with other guns it is not accurate.


Re: [FS] Headshot System ("BOOM Headshots") - 1 shot to head = instant kill - Zamaroht - 03.04.2010

Very nice usage of the new functions, it's good to see that people are already getting the handle of them

By the way, you could use IsPlayerConnected in HeadshotCheck, I guess it would increase the performance a lot, since it wouldn't check for disconnected players.


Re: [FS] Headshot System ("BOOM Headshots") - 1 shot to head = instant kill - lameguy - 03.04.2010

Thanks for pointing it out, I'll update it soon.


Re: [FS] Headshot System ("BOOM Headshots") - 1 shot to head = instant kill - Gamer_Z - 08.06.2011

Quote:
Originally Posted by Phanto90
View Post
It's better to do an headshot system by getting player anims when hit at the head. All this system is pretty useless also because it is only for sniper, and it could be much more shorter.
when you run , hold space I think even if you get a H@ you just still run. (own 4 year experience duh!)

Even the sa-mp devs can't do anything about it, it's hardcoded into the GTA3 engine of San Andreas.


Re: [FS] Headshot System ("BOOM Headshots") - 1 shot to head = instant kill - tbedy - 25.06.2011

any mirror plz !?