NoClip Pro - Enhanced NoClip for FiveM

lmao tho why you use a sql query to get the player group? just do a xPlayer check or if you still keep on sql queries do it with ghmatti, is way better optimised @0xDEMXN
https://esx-framework.github.io/es_extended/server/xplayer/functions/getgroup/

Because it’s intended to be standalone and indipendent from esx, anyway I could make it better by checking principals instead, I’ll look forward to it.

Updated with new fixes and features, check it out!

I got an error :


Thanks for help

1 Like

You need to have a ā€˜group’ column in your users table in order for permissions to work!

i do have one…

So i dont know what’s the problem…

Did you edit your identifier to be steam or something else? Because the script is looking for license when querying for groups :slight_smile:

I’m getting the same error. If I fix it I post the solution here.

Since the script itself is okay, the issue is specific to your server configuration, probably because you have got an identifier different than the license. If you use ESX, try enabling the esx compatibility in the config, otherwhise you should be able to rewrite part of the permissions checks to match your identifier!

Yeah my identifier is the steam ID what can I do to use ur script with steam ID instead of license Thanks

Rewrite the identifier check to get the steam one instead of the license or, if you’re using ESX, you can enable the ESX Compatibility Mode available in the latest version.

lill issue the script is taking 50 ms lol ?

Use the latest version with ESX mode on.

Silly question. Can i use this in a standard build of FiveM, No ESX or SQL DB backend? I saw on the github that mysql-async is a requirement?

Thanks,

Sure, just strip out the GetPlayerGroup() function and everything relative to it.
You can still use steam hexs permissions check! :slight_smile:

Brill, thanks for the prompt response!

Updated with fixes and structure optimization

Hey, I just can’t get this script to work.
Basically, the way I setup this script is that I just leave all things as it be except I rename the folder from noclip-pro-1.0.4 to noclip-pro. Then I ensure the script in the server.cfg. When I got into the game, I tried pressing the CANC key (also known as DELETE key) but I can’t just get it to work. Any ideas?

Oh also, I’m sure that I’m in the admin group (as the picture I attached below).
Screenshot 2021-07-11 231217

As long as you are using ESX, you should enable ESX compatibility mode which will check for your group.
Also, keep in mind that you need to set yourself as an admin on the database (or setgroup command if you’re connected to the server).
If you’re not using ESX, you should add your steam hex to the config.

1 Like