Ulysses Stuff > Releases

URS BETA - A Highly Customizeable Restriction System (or will be)

<< < (76/117) > >>

Wully616:
Would there be any way to edit this to include custom sbox_limits, for example I'm trying to limit sbox_max_acf_ammo so that new players can't spawn ammo, for fear of minges but later ranks can.
The only line I could find which might be the one to edit is in urs_server.lua:


--- Code: ---local limittypes = { "vehicle","effect", "npc","ragdoll","prop","sent" }
--- End code ---

Would I simply add in "acf_ammo" to that list?

Epsilon:
I was wondering the same thing with regards to all the default sbox limits as well.

Aaron113:
You can limit the weapons that are spawned?  You can do the same with picking up the weapons.

ulx restrict swep weapon_ar2 superadmin

I do not do much with sbox limits.  It's all done with lua and any custom limits you set.  I merely hook into the spawning and check how many you have.

Aaron113:
I just fixed an Advanced Duplicator 2 issue someone was having.  That took forever but I pushed it out already.  I also updated the main page with updated links and what not.  The wiki is just starting out but I'll update it more.

Epsilon:

--- Quote from: Aaron113 on July 30, 2013, 01:32:09 PM ---I do not do much with sbox limits.  It's all done with lua and any custom limits you set.  I merely hook into the spawning and check how many you have.

--- End quote ---

So, can you explain how one might add more custom limits, such as a limit for sbox_dynamite?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version