Loading...

Gun Control 1.2.2

Download
1dc1ce guncontrolv2
5cb099 bg

2,094

Description
This script restricts weapons to certain peds in order to simulate a scenario of having strict gun laws in San Andreas. Unlike other scripts, this script only removes weapons once, allowing weapons to be added by script after weapons are being removed.

Using LSPDFR with this script is not supported. Only standalone usage is supported by this script. This is due to limitations since this script cannot communicate with LSPDFR and thus might causing troubles.

Features
  • Remove weapons from most peds
  • Allow few gang members have weapons (they are not removed, but if you want them have guns they must have them already, game must given them first...) (chance & groups considered are configurable in INI)
  • Allow all SWAT team members have weapons (configurable in INI)
  • Allow cops to respond with weapons after certain wanted level (configurable in INI)


Requirements


How to Install
Copy everthing in To Game Folder folder to your GTA V install folder (e.g. where your GTA5.exe was located).

Known Issues
  • If a script or mission spawns peds with weapons without setting them as persistent, they will likely get removed. This is due to game limitations.
    Note that due to script only removes weapons for once dismissing peds are ok.


You can report more issues at either the issue tracker, or in the comments section.

Changelog
- v1.3.0:
- Interval between scans can now be configured
- Interval between processing each ped can now be configured
- Scanning can now be set to a limited range.
- New ruleset system added, configurable in a new XML file
- Gang member weapon limit is now amount-based
- Hashes of gang groups are now calculated at startup rather than each time a ped processed

- v1.2.2:
- Actually fixed an issue resulted in fixed an issue resulted in config option LevelOfArmed not being respected properly.
- Removed AllowSwatWeapons option due to a problem unable to fix.

- v1.2.1:
- Fixed an issue resulted in config option LevelOfArmed not working as excepted.
- Tweaked AllowSwatWeapons option to ignore LevelOfArmed.

- v1.2.0:
Added a config option called LevelOfArmed. When the wanted level of the local player reaches the level configured in this option, cops will respond with weapons.
Added a config option called GangGroups. Relationship groups written in the config option will be treated as gangs, thus have it's members being considered gang members, applying GangMemberWeaponChance configuration.
Fixed an issue causing weapons from persistent peds being removed.
Fixed an issue causing firefighter's fire extinguishers being removed.

- v1.1.0:
Added a config option called AllowSwatWeapons. If enabled, SWAT team will have weapons.
Added a config option called GangMemberWeaponChance. If enabled, there is a chance of not removing weapons from gang members. Please note that if they want have guns game must give them guns first.

- v1.0.0: Initial release.

License And Credits
This script is open source, licensed under Apache-2.0 license. A copy of the license can be found in this archive. The source code is available at https://gitlab.com/WithLithum/GunControlV. Code is done by WithLithum.

Please note that WithLithum is RelaperCrystal.
Show Full Description

First Uploaded: August 27, 2021
Last Updated: February 17, 2022
Last Downloaded: 10 hours ago

All Versions

 1.3.0

223 downloads , 16 KB
February 17, 2022

 1.2.2 (current)

1,345 downloads , 19 KB
November 14, 2021

 1.2.1

76 downloads , 19 KB
November 13, 2021

 1.2.0

282 downloads , 19 KB
September 10, 2021

 1.1.0

33 downloads , 10 KB
August 28, 2021

 1.0.0

137 downloads , 9 KB
August 27, 2021

34 Comments