View Single Post
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 10-31-2017 , 10:53   Re: [L4D & L4D2] Flashlight (2.5.1) [19-Nov-2015]
Reply With Quote #36

Quote:
Originally Posted by simvolist777 View Post
I chose the green color of the flashlight in the config. (l4d_flashlight_colour "41 233 41") But the green color is turned on only after entering the "! light" command in the chat. How to make sure that the green color of the flashlight is turned on after entering the server?
In the server config I registered the command sm_cvar l4d_flashlight_lock_colors 1, but it did not help
That's how the plugin works. The !light command enables/disables the flashlight. Also, registering commands or creating a cvar isn't that easy. You have to attach it to an action/function. So simply adding "l4d_flashlight_lock_colors" isn't gonna do anything.
__________________

Last edited by Psyk0tik; 10-31-2017 at 10:54.
Psyk0tik is offline