Raised This Month: $ Target: $400
 0% 

set_lights to fakemeta.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
xbatista
Veteran Member
Join Date: Mar 2008
Location: Lithuania
Old 01-11-2009 , 08:36   Re: set_lights to fakemeta.
Reply With Quote #4

plugin init
new skyname[32]
get_pcvar_string(zombie_skyname, skyname, 31)
set_cvar_string("sv_skyname", skyname)
set_cvar_num("sv_skycolor_r", 0)
set_cvar_num("sv_skycolor_g", 0)
set_cvar_num("sv_skycolor_b", 0)
zombie_skyname = register_cvar("l4d_skyname", "space") // Skyname
public client_putinserver()
{
fm_set_lights("c") // Lights on the map.Default lights in cs is "m".
}
stock fm_set_lights(const lights[])
{
engfunc(EngFunc_LightStyle, 0, lights);
}

So it is good or Better I'll use your code?
xbatista is offline
Send a message via Skype™ to xbatista
 



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 01:50.


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