EngFunc_LightStyle
engfunc(EngFunc_LightStyle, 0, "f")
: I am setting an illumination level for the 1 round.How to restore default map illumination level back ? |
Re: EngFunc_LightStyle
u can just use set_lights
|
Re: EngFunc_LightStyle
Quote:
@OP: IIRC light level "m" is the default one. So just use engfunc(EngFunc_LightStyle, 0, "m"); |
Re: EngFunc_LightStyle
drekes,thank you
|
Re: EngFunc_LightStyle
EngFunc_SetLights is not enough to fully convert set_lights.
Connecting players could have blinking lights. Players arms could be wrongly colored. Also, "m" is not the default light on every maps. That's why it's really better to use set_lights To restore original light, just pass "#OFF" as arg. http://www.amxmodx.org/funcwiki.php?go=func&id=371 Little tip : to set something like FULLBRIGHT you can pass "A" |
Re: EngFunc_LightStyle
ConnorMcLeod, Thank you very much :)
|
Re: EngFunc_LightStyle
Why blink?
As if set two letters ... Code:
#include <amxmodx> |
Re: EngFunc_LightStyle
Quote:
|
Re: EngFunc_LightStyle
I asked for yourself ))
|
Re: EngFunc_LightStyle
для этого есть amx-x.ru где ты и сидишь лол
|
| All times are GMT -4. The time now is 12:01. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.