Ulysses Stuff > General Chat & Help and Support
ULX ToolDeny
Avien:
I was recently playing GMOD 10 Sandbox, and people started to paint things, light things on fire, and just being an all around annoyance. Instead of having to use the command to deny a tool to someone, is there a way to make it where anyone that connects without admin powers will automatically be denied that weapon?
Thanks
JamminR:
--- Quote from: Avien on May 02, 2007, 03:57:12 PM ---I was recently playing GMOD 10 Sandbox, and people started to paint things, light things on fire, and just being an all around annoyance. Instead of having to use the command to deny a tool to someone, is there a way to make it where anyone that connects without admin powers will automatically be denied that weapon?
Thanks
--- End quote ---
Avien, in console, type 'find toolmode_allow'
You can set any of those in your server.cfg file that runs at every server mapchange/startup.
Two you're looking for specifically would be
toolmode_allow_paint = 0
and
toolmode_allow_ignite = 0
Also, I'm moving this post to Off-topic. It has nothing to do with support of ULX.
Those commands are built into Garry's mod, and you might have asked in Garry's Mod Help and Support at Facepunch forums
Avien:
Well i asked here to see if there was someway to make it so normal clients would be limited. I did what you said to do, but i am also not allowed to use Ignite and Paint, even though i am a superadmin.
JamminR:
Ah. I misunderstood your question.
Yes, those Gmod commands will disable for all, not just admins.
There is someway to edit SWEPS for admin only.
I don't know if/what there is to edit for STOOLs though. Sorry, I don't have time to look at the moment.
If someone else doesn't give a tip here, I'll try to look later.
Avien:
Well i currently have the server where only tool gun, camera, and physic guns are spawned on players. I also have those 2 tools set as not allowed. I just want a way to allow admins to spawn with all default weapons, and have access to the denied tools. Don't know anything about lua or the way ulx works, so i could possible add a group for people to have access to denied tools and weapons.
Thanks for any future help.
Navigation
[0] Message Index
[#] Next page
Go to full version