SA-MP Forums Archive
Anti-noBulletSpread Or no-Recoil? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP (https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: Client Support (https://sampforum.blast.hk/forumdisplay.php?fid=16)
+--- Thread: Anti-noBulletSpread Or no-Recoil? (/showthread.php?tid=540468)



Anti-noBulletSpread Or no-Recoil? - XGreen - 05.10.2014

hello! i saw some players using no Recoil/Bullet Spread Hack. is theres any code to prevent this?


AW: Anti-noBulletSpread Or no-Recoil? - NaS - 05.10.2014

I think it's not possible, since we don't have up-to-date info about the camera vector while the player is shooting.
If there would be a camera vector with every shot, it would be possible to calculate if the shot is straight on the line, but we can't since the camera vector doesnt get updated often enough.

At least that's the only way I can think of detecting this.

It could be done if the player does not move at all (no cam & no character movement) while shooting, but that's very unlikely.


Re: AW: Anti-noBulletSpread Or no-Recoil? - XGreen - 05.10.2014

Quote:
Originally Posted by NaS
Посмотреть сообщение
I think it's not possible, since we don't have up-to-date info about the camera vector while the player is shooting.
If there would be a camera vector with every shot, it would be possible to calculate if the shot is straight on the line, but we can't since the camera vector doesnt get updated often enough.

At least that's the only way I can think of detecting this.

It could be done if the player does not move at all (no cam & no character movement) while shooting, but that's very unlikely.
Whoa! I found a solution for it! i set the player's weapon skill to 500 below or 100 below. and it works!


AW: Anti-noBulletSpread Or no-Recoil? - NaS - 05.10.2014

Even for the ppl hacking? If yes, cleverly done!
I just thought about how to detect it


Re: Anti-noBulletSpread Or no-Recoil? - RoW001 - 05.10.2014

Or check player gived damage ..
Solution is simple damage is more bigger than weapon dmg BAN or send admins message.


AW: Re: Anti-noBulletSpread Or no-Recoil? - NaS - 05.10.2014

Quote:
Originally Posted by RoW001
Посмотреть сообщение
Or check player gived damage ..
Solution is simple damage is more bigger than weapon dmg BAN or send admins message.
That's not quite what he is looking for, that would be a damage hack or how to call it.