Flashlight
Hello,
Does anyone know how i can manipulate the light coming from the default flashlight? Is there a way to enable/disable the light without turning off the flashlight? PS: Connor's custom flashlight is not what i am looking for... |
Re: Flashlight
mp_flashlight 0/1
|
Re: Flashlight
Quote:
Seriously though, i need some constructive answers, I'm trying to change the light coming from the default flashlight. |
Re: Flashlight
PHP Code:
amx_cvar "is_active_default_flashlight_without_turning _off_the_flashlight" "0" - turn OFF flashlight |
Re: Flashlight
I see what you did here, but this is not what i'm looking for. I dont want to manage who can use the flashlight and who cant, but i want to manage who can see the light coming from someone's flashlight..
You're blocking the player from sending the impulse command, but i actually want him to be able to do at as normal and have certain players not see it. I can manipulate who sees it with bools, but i need to get the entity id of the light coming from the default flashlight of a player. Once again, i'm trying to get the light coming from the default cs flashlight and manipulate that. |
Re: Flashlight
You may want to look into AddToFullPack. Specifically ES_Effects. One's flashlight gets turned on by having their EF_DIMLIGHT effect set, and you can manipulate that for each player individually in AddToFullPack.
|
| All times are GMT -4. The time now is 09:23. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.