Raised This Month: $ Target: $400
 0% 

[Solved] set_lights() function -> fakemeta ?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 04-28-2007 , 22:08   [Solved] set_lights() function -> fakemeta ?
Reply With Quote #1

Hi,

Is there a function like set_lights() in fakemeta? In others words, How to have the same functionality with fakemeta?

Thanks!
__________________

Last edited by Arkshine; 04-28-2007 at 23:27. Reason: Topic solved.
Arkshine is offline
Drak
Veteran Member
Join Date: Jul 2005
Old 04-28-2007 , 22:58   Re: set_lights() function -> fakemeta ?
Reply With Quote #2

Code:
 engfunc(EngFunc_LightStyle,0,"a")

Obviously, replace "a" with your own. (Assuming you know how "set_lights()" works)
__________________
Oh yeah
Drak is offline
Send a message via MSN to Drak
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 04-28-2007 , 23:17   Re: set_lights() function -> fakemeta ?
Reply With Quote #3

Yep, thanks. It works but it does not always make the players darker as well.


EDIT : Ok, you have to set sv_skycolor_r /g /b to 0 and it works fine now.
__________________

Last edited by Arkshine; 04-28-2007 at 23:26.
Arkshine is offline
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 06:36.


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