G-Mod C menu help :)

I need help trying to find the files for the C menu, its when in game you hold down “c” and a menu shows up :slight_smile:
The problem is that people on my server can no collide cars and drive into peoples bases,
Thank you

The context menu options can be controlled via GM:CanProperty and GM:CanEditVariable. Both have examples that you can follow, though you may need a more tailored solution if you are using a premade Admin system.

The Lua files themselves are located at <drive>:/<steam installation>**/steamapps/common/GarrysMod/garrysmod/lua/autorun/properties **(assuming a Windows machine).

Alright I have looked at both of those but like where do I edit it what file?

If you are hoping for a ‘configuration’ file somewhere that let’s you disable it, there isn’t one. You need to code a hook to prevent people from using it.

Ok so once I make a hook where would I put it?

[editline]29th August 2015[/editline]

And how do I make a hook for No Collide?