Recoded most of the script, added permanent spawning and fixed the blacklist to now be a whitelist for easier management.
Once installed spawn it in with the q menu under entities, place them where you want them and then type "savescanners" in console. Once the server changes map/restarts they will be there permanently.
*fixed version number Added a wanted timer to the config, will also now flash orange if the person scanned has weapons but also has a gun licence.
Added a wanted timer to the config, will also now flash orange if the person scanned has weapons but also has a gun licence.
Added an auto-wanted system in the config file. Change this to true to make the player wanted when illegal weapons are found. This is set to false by default.
Removed a few useless checks, not a required update.
Removed darkrpmodification as it was possibly causing issues with some versions of DarkRP.
Added a team check. Add the team name in the config file to blacklist a team from setting off the scanner.
Changed confusing entity name.
Changed the weapons name to their Print name. It will now show "AK47" instead of "weapon_ak47" etc.
Fixed table looping incorrect amount of times.
Initial version.