Raised This Month: $32 Target: $400
 8% 

Daylight Changer (Downtown1)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   ALL        Category:   Fun Stuff        Approver:   Johnny got his gun (102)
|2ob
Senior Member
Join Date: Mar 2004
Location: Ontario, Canada
Old 06-06-2004 , 22:54   Daylight Changer (Downtown1)
Reply With Quote #1

This plugin will check the time it is on the server every 60 seconds, and every time the hour ticks down it will change the amount of daylight (lighting) the map gets.

In plain terms, the closer it is to the night the darker the server will get, the closer it is to the afternoon/dawn the lighter the server will get.

Note: You will need Engine Module.
Changelog:

v1.0 - Initial Release

v1.1 - Ported to AMXx

v1.2 - Made midnight work, servers wouldd not read 24th hour.

v1.3 - Downtown1 added cvar to pause plugin. (sv_daylightchange, def = 1)
Attached Files
File Type: sma Get Plugin or Get Source (lights.sma - 3920 views - 1.4 KB)
__________________
24/7 Custom Maps Vitrus | Style by www.WebGZ.net
64.247.24.125:27015

Visit Vitrus's Clan Site!

I would put more, but they have a limit on chars
|2ob is offline
Send a message via AIM to |2ob Send a message via MSN to |2ob
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 14:48.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode