ULX

Author Topic: Question about groups  (Read 2338 times)

0 Members and 1 Guest are viewing this topic.

Offline Nook

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Question about groups
« 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

Offline Avien

  • Full Member
  • ***
  • Posts: 168
  • Karma: 4
Re: Question about groups
« Reply #1 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.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Question about groups
« Reply #2 on: February 20, 2008, 06:00:18 PM »
Yes, this is very possible.
Experiencing God's grace one day at a time.

Offline Nook

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: Question about groups
« Reply #3 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

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Question about groups
« Reply #4 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.
Experiencing God's grace one day at a time.