ULX

Author Topic: Addon Restriction (Unless there is and I've not found it)  (Read 2761 times)

0 Members and 3 Guests are viewing this topic.

Offline GeorgeVincent

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Addon Restriction (Unless there is and I've not found it)
« on: July 25, 2012, 03:58:33 AM »
What would be great is to restrict certain usergroups from addons or even just console commands, for example, my server runs ULX (obviously) and PAC3 (Player Appearance Customiser http://www.facepunch.com/showthread.php?t=887940 ) Which is awesome, but I don't want every mingebag who joins and knows how to open the 'Q' menu, where the PAC tool is, to attach a shipment container to his characters genitalia, so I think that there should be limits to users abilities with addons :) Thoughts?

Offline Assault_Trooper

  • Newbie
  • *
  • Posts: 20
  • Karma: 1
    • Trooper's Gaming Servers
Re: Addon Restriction (Unless there is and I've not found it)
« Reply #1 on: July 25, 2012, 04:54:57 AM »
You'd have to pretty much edit PAC3, and add ply:GetUserGroup() == "admin", somewhere.

Offline GeorgeVincent

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: Addon Restriction (Unless there is and I've not found it)
« Reply #2 on: July 25, 2012, 09:24:23 AM »
Oh thanks :)