View Single Post
Plugin Info:     Modification:          Category:          Approver:   Arkshine (91)
joropito
AlliedModders Donor
Join Date: Mar 2009
Location: pfnAddToFullPack
Old 04-04-2010 , 23:44   Lights Management
Reply With Quote #1

.:= Lights Management =:.

Why this plugin?
I hate those maps with lights switch that, when used, cause lag and screen freeze.
Description
With this plugin you can set permissions over light switch buttons.
Can detect lights entities linked directly with a func_button or though multi_manager entity.
Cvars
lightsmode (default: 3)
0: Allow everyone to switch lights
1: Only CT team
2: Only TT team
3: Nobody can use switch lights
lightsadmin (default: 1)
0: No admin override
1: Admin allow override
lightsother (default: 1)
0: Non-player entities allowed
1: Non-player entities disallowed

Changelog
Code:
v0.2
* Added non-player entities control
* Added admin permission override
* Fixed all buttons affected issue
 
v0.1
* First release
Attached Files
File Type: sma Get Plugin or Get Source (lightsmanagement.sma - 1812 views - 3.1 KB)
__________________

Divide et vinces
approved plugins | steam account

I don't accept PM for support. Just ask on forums.
If you're looking for private work, PM me.

Last edited by joropito; 04-05-2010 at 08:30.
joropito is offline
Send a message via MSN to joropito