View Single Post
Plugin Info:     Modification:          Category:          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 - 15186 views - 3.0 KB)
File Type: ini skys.ini (319 Bytes, 8558 views)
__________________

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