AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [Solved] set_lights() function -> fakemeta ? (https://forums.alliedmods.net/showthread.php?t=54560)

Arkshine 04-28-2007 22:08

[Solved] set_lights() function -> fakemeta ?
 
Hi,

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

Thanks! :)

Drak 04-28-2007 22:58

Re: set_lights() function -> fakemeta ?
 
Code:
 engfunc(EngFunc_LightStyle,0,"a")

Obviously, replace "a" with your own. (Assuming you know how "set_lights()" works)

Arkshine 04-28-2007 23:17

Re: set_lights() function -> fakemeta ?
 
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.


All times are GMT -4. The time now is 06:36.

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