• [DarkRP]How to prevent players from using material tool gun on Cars
    5 replies, posted
Heyy Oakes, Hope this is an easy solve but how can I prevent players from using material tool gun on TDM Cars? Thanks,
type !menu and restrict toolgun in groups
[QUOTE=vimpto;51848854]type !menu and restrict toolgun in groups[/QUOTE] Will give that a try tnx man
If u want me to do it for you add me here: [url]http://steamcommunity.com/profiles/76561198333919120[/url]
That would stop players from using the material tool on everything, even props. What you want is to disallow them from using it on only vehicles. [URL="http://wiki.garrysmod.com/page/SANDBOX/CanTool"]http://wiki.garrysmod.com/page/SANDBOX/CanTool[/URL] You need to create a hook and check if they are using the material tool and if the entity is a vehicle then return false.
[QUOTE=Nick78111;51849725]That would stop players from using the material tool on everything, even props. What you want is to disallow them from using it on only vehicles. [URL="http://wiki.garrysmod.com/page/SANDBOX/CanTool"]http://wiki.garrysmod.com/page/SANDBOX/CanTool[/URL] You need to create a hook and check if they are using the material tool and if the entity is a vehicle then return false.[/QUOTE] True ... i only what it to NOT work on cars ..... if seen this hook .... but have no idee where to add hooks to my server .... any tips?
Sorry, you need to Log In to post a reply to this thread.