Fierelier Posted October 22, 2016 Share Posted October 22, 2016 (edited) InfoThis resource will fix the wallglitch that allows players AND peds to shoot through walls. It is completely client-side and should not strain the server.This script protects players and vehicles from being killed/destroyed via wallglitching.Note: Only hitscan-weapons (like the Pistol or the AK-47) work with this fix. Shotguns have not been tested yet. This script also has not been tested on low-end systems yet, but it should not cause much strain. How does it work?It checks the collision between the shoulder of the shooter and the muzzle of the weapon. The line between the muzzle and the bullet is also checked. If a collision is found, the damage of the shot gets canceled. So, it prevents players from aiming through walls (especially small ones) and the bullet from going through walls (which occurs because the aim-point is off-set from the actual point the weapon is aiming).DownloadGet the newest version from the MTA-Community!NOTE FOR DEVELOPERS: You are allowed to use, re-upload and edit my scripts, as long as I am not discredited. Just do not claim that it is your's, and everything is cool. Edited October 25, 2016 by Fierelier Link to comment
Salvation Posted May 5, 2018 Share Posted May 5, 2018 THX dude very much for this script. Now it may disseable situations when someone could shoot through walls Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now