Raised This Month: $ Target: $400
 0% 

EngFunc_LightStyle


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
artist
Member
Join Date: Nov 2013
Old 04-03-2014 , 11:19   Re: EngFunc_LightStyle
Reply With Quote #7

Why blink?
As if set two letters ...

Code:
#include <amxmodx>
#include <fakemeta>

public plugin_init()
{
	set_light_hour()
}
public set_light_hour()
{
	new hour[3]; get_time("%H", hour, charsmax(hour))

	switch(str_to_num(hour))
	{
		case 0: engfunc(EngFunc_LightStyle, 0, "a")
		case 1: engfunc(EngFunc_LightStyle, 0, "b")
		case 2: engfunc(EngFunc_LightStyle, 0, "c")
		case 3: engfunc(EngFunc_LightStyle, 0, "d")
		case 4: engfunc(EngFunc_LightStyle, 0, "e")
		case 5: engfunc(EngFunc_LightStyle, 0, "f")
		case 6: engfunc(EngFunc_LightStyle, 0, "h")
		case 7: engfunc(EngFunc_LightStyle, 0, "k")
		case 8: engfunc(EngFunc_LightStyle, 0, "n")
		case 9: engfunc(EngFunc_LightStyle, 0, "w")
		case 10: engfunc(EngFunc_LightStyle, 0, "x")
		case 11: engfunc(EngFunc_LightStyle, 0, "y")
		case 12: engfunc(EngFunc_LightStyle, 0, "z")
		case 13: engfunc(EngFunc_LightStyle, 0, "y")
		case 14: engfunc(EngFunc_LightStyle, 0, "x")
		case 15: engfunc(EngFunc_LightStyle, 0, "w")
		case 16: engfunc(EngFunc_LightStyle, 0, "u")
		case 17: engfunc(EngFunc_LightStyle, 0, "p")
		case 18: engfunc(EngFunc_LightStyle, 0, "n")
		case 19: engfunc(EngFunc_LightStyle, 0, "k")
		case 20: engfunc(EngFunc_LightStyle, 0, "j")
		case 21: engfunc(EngFunc_LightStyle, 0, "h")
		case 22: engfunc(EngFunc_LightStyle, 0, "d")
		case 23: engfunc(EngFunc_LightStyle, 0, "b")
	}
}

Last edited by artist; 04-03-2014 at 11:22.
artist 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 12:01.


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