Raised This Month: $ Target: $400
 0% 

EngFunc_LightStyle


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Buckshot
Senior Member
Join Date: Mar 2014
Location: Sweden
Old 04-03-2014 , 21:41   Re: EngFunc_LightStyle
Reply With Quote #1

Quote:
Originally Posted by artist View Post
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")
	}
}
This thread is from 2011.. I don't think he is still looking for a solution..
__________________
PM me for private work.


Buckshot is offline
Send a message via Skype™ to Buckshot
Buckshot
Senior Member
Join Date: Mar 2014
Location: Sweden
Old 04-06-2014 , 14:10   Re: EngFunc_LightStyle
Reply With Quote #2

Quote:
Originally Posted by Buckshot View Post
This thread is from 2011.. I don't think he is still looking for a solution..
Still....
__________________
PM me for private work.


Buckshot is offline
Send a message via Skype™ to Buckshot
Reply



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