Ulysses

Ulysses Stuff => Suggestions => Topic started by: Ninjadude101 on December 21, 2008, 08:47:13 AM

Title: Disallow a usergroup spawning permissions
Post by: Ninjadude101 on December 21, 2008, 08:47:13 AM
Is there a way i can stop a certain usergroup from spawning anything (weapons, props, entities, vehicles etc)?
I have a usergroup on my servers called minge. Obviously certain people who minge about get an hour or two in the minge group where they cant do but watch, although some have realised that they can still spam explosives.

Anyway yeah i'm not asking for a full-blown mod for this, just a piece of code i can put somewhere to stop the ULX group "minge" from spawning anything at all, thanks.

I am using URestrict to stop the group from spawning with anything of use however might make them spawn with only a gravgun. (Anyone think of a more useless tool? - Camera does not work as you cannot type or anything, heh.)
Title: Re: Disallow a usergroup spawning permissions
Post by: Ninjadude101 on December 22, 2008, 12:01:56 PM
Anyone?
Title: Re: Disallow a usergroup spawning permissions
Post by: JamminR on December 22, 2008, 01:12:20 PM
See this discussion. http://forums.ulyssesmod.net/index.php/topic,858.0.html
Spbogie's code could easily be modified to allow any _but_ minge group.
Title: Re: Disallow a usergroup spawning permissions
Post by: Ninjadude101 on December 22, 2008, 08:22:45 PM
Thanks man, that helped a lot. I just changed it slightly so that if group is NOT in the table, they CAN spawn :)
Anyway, cheers.
Title: Re: Disallow a usergroup spawning permissions
Post by: JamminR on December 22, 2008, 09:01:24 PM
Welcome. Good to see ya around ninjadude.