Raised This Month: $51 Target: $400
 12% 

Day/Night Effect V1.3


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff        Approver:   Emp` (115)
Destro-
Veteran Member
Join Date: Jun 2010
Location: $me->location();
Old 11-17-2010 , 22:42   Day/Night Effect V1.3
Reply With Quote #1

--=Day/Night Effect 1.3=--

Discripcion:
Change the light and sky of map,according to the time.

Credits:
Gladius Idea

Changelogs:
1.1:Add Lights
1.2: Existent file check
1.3: Optimization,Dynamic configuration

Cvars:
amx_dn_sky_on // on/off changing sky
amx_dn_lights_on // on/off light change

sky register:
Create a file ". Ini." skys the name.

Code:
;sky.ini
[sky 1]
hour:0,5
sky_name:space
lights_level:b
 
[sky 2]
hour:6,8
sky_name:space
lights_level:c
 
[sky 3]
hour:9,10
sky_name:space
lights_level:d
 
[sky 4]
hour:11,17
sky_name:des
lights_level:off
 
[sky 5]
hour:18,20
sky_name:des
lights_level:d
 
[sky 6]
hour:21,23
sky_name:space
lights_level:c

Sorry for my English, I use translator.
Someone would be so kind as to correct the translation.
Thanks
Attached Files
File Type: sma Get Plugin or Get Source (day_night.sma - 15183 views - 3.0 KB)
File Type: ini skys.ini (319 Bytes, 8557 views)
__________________

Last edited by Destro-; 02-09-2011 at 09:49. Reason: rename
Destro- is offline
 



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 04:12.


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