Fax Core - Ace Based Permission System, Including Blacklisting of Cars, Peds & Guns [Fax-Core] [2.1]

@FAXES Hey, for some reason I have never been able to blacklist the RPG and Grenade Launcher, even though I enter the correct name according to the weapons name and hashes you linked in the config file. Is there some sort of special name or hash for it, or is FiveM just broken in that part, and just wont blacklist those weapons?

1 Like

Lots are having that issue and I’m working on seeing if I can fix, could just be FiveM being broken…

1 Like

@FAXES Thanks bro, and also the MK2 weapons don’t work as well, I know they are not on FiveM’s list but is there a way to blacklist those as well? Or are you working on that as well?

1 Like

I’ll look into that as well

1 Like

Do I have to re-add the blacklists for every rank? If I blacklist a car for owners, does it get blacklsited for lower tiers (eg, guests)

no, as its better for optimisation on peoples servers.

1 Like

I haven’t edited the server.lua at all and it fails to load.

https://gyazo.com/fd0583b528080f59075ce8b2f1393c7f

No errors at all? There should be some and if you have not touched it there should be no errors…

Even check the F8 client console and check for errors there…

https://gyazo.com/446836147cdc8c6a8a0545ebf61343c0

Syntax Error. ~~It says 267 but there are not 267 lines?
The 267th character is part of the word “citizen” on line 80 (version checking)

It says there’s an error in the config.lua which could error out the server.lua as a result, check through the config and make sure there’s no typos.

1 Like

Just so you know when there are a lot of vehicles and weapons. It causes low fps issues for people with low end PC’s. I get around 130 fps but a lot of people are getting 20 fps with the performance message. Other than that good resource.

Will this prevent trolls from using troll menus from spawning blacklisted vehicles.

Can do. It won’t stop menus bit will stop the player being in that vehicle

1 Like

Hi, I’m not sure whats wrong with my config.lua?

https://hastebin.com/eralihelab.lua
config.lua (8.5 KB)

1 Like

You have an extra period on line 267.

adminweaponblacklist = {.

Thanks. That was one of the hidden issues I guess.

Updated config (fixed some more issues)

https://hastebin.com/exinucihal.lua

Some items now work, some items it doesn’t detect ex: grenadelauncher
(In the post above the item is mispelled. That was fixed in the version I am running)

Ah thought so. Only so much as us devs can create to stop people from doing that because troll menus spawn them even without you in them so that’s how it’s bypassed.

1 Like

Cool script you should really integrate an essentialmode version

No, ES is fucked and trashy