Ulysses

General => Off-Topic => Topic started by: Nook on February 19, 2008, 07:28:30 PM

Title: Question about groups
Post by: Nook on February 19, 2008, 07:28:30 PM
Is it possible to have a group allowed to spawn sents or sweps?

what i mean there is:
ENT.Spawnable         = false
ENT.AdminSpawnable      = true

is there a way to do like
ENT.Memberspawnable    ???


Thanks in advance
Title: Re: Question about groups
Post by: Avien on February 20, 2008, 05:59:09 PM
I looked through the gmod wiki and didn't find anything related to what you requested, even though the wiki is not always up to date.
Title: Re: Question about groups
Post by: Megiddo on February 20, 2008, 06:00:18 PM
Yes, this is very possible.
Title: Re: Question about groups
Post by: Nook on February 20, 2008, 07:02:52 PM
Could you please enlighten me I am dark on this concept, I need the Light of wisedom
Title: Re: Question about groups
Post by: Megiddo on February 20, 2008, 07:34:56 PM
You could either code a check into the sent's spawn directly or check for this particular sent within the sent spawn callback.