Hi,
Is there anyway to disable this noclip tool and the function when you click right click on a prop and open that menu completely?
I just hate it when people nocolide there cars to break into bases.
Thanks
[CODE]
function GM:OnContextMenuOpen( )
print( "This menu has been blocked." )
end[/CODE]
That will disable opening the menu.
I dont want to block the hole menu, just noclip.
[QUOTE=JackBauerr;44534578]I dont want to block the hole menu, just noclip.[/QUOTE]
I assume you mean "Disable collision"? DarkRP seems to be able to block this, so I don't see why it shouldn't be possible.
It is possible, very possible.
[url]http://wiki.garrysmod.com/page/SANDBOX/CanProperty[/url]
No, i want to block the tool and in the right click menu the tool itself called noclip....
Better would it just for vehicles.
[QUOTE=JackBauerr;44534605]No, i want to block the tool and in the right click menu the tool itself called noclip....
Better would it just for vehicles.[/QUOTE]
There is no "tool" in the menu called "Noclip".
[img]http://i.imgur.com/E2fjOrp.png[/img]
The thing that makes cars able to go through props is "Disable collision". This is the same as "Nocollide all" (right click with the nocollide tool).
Depending on what gamemode you are running, you can disable it using either Lua or the gamemode config.
If you run DarkRP, go to your "darkrpmodification" addon, go to "lua/darkrp/config" and edit "settings.lua" to use "GM.Config.allowedProperties" to disable the "Collision" property.
He means when you hold C on an item and click Disable Collisions.
[QUOTE=AIX-Who;44534627]He means when you hold C on an item and click Disable Collisions.[/QUOTE]
I know, see my post above yours, was changing it for clarification. I already mentioned "Disable collision" but he said he meant noclip, not collision.
Sorry, you need to Log In to post a reply to this thread.