Raised This Month: $32 Target: $400
 8% 

[L4D & L4D2] Flashlight (2.31) [23-Jan-2024]


Post New Thread Reply   
 
Thread Tools Display Modes
GoGetSomeSleep
Senior Member
Join Date: Dec 2018
Location: Miami/Florida
Old 09-13-2020 , 08:44   Re: [L4D & L4D2] Flashlight (2.9) [10-May-2020]
Reply With Quote #81

does not have cookie for save flashlight?
GoGetSomeSleep is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 09-18-2020 , 20:07   Re: [L4D & L4D2] Flashlight (2.10) [18-Sep-2020]
Reply With Quote #82

Quote:
Originally Posted by GoGetSomeSleep View Post
does not have cookie for save flashlight?
Done:

Code:
2.10 (18-Sep-2020)
    - Added cookie preferences to save player flashlight color and state. Thanks to "GoGetSomeSleep" for requesting.
    - Added cvar "l4d_flashlight_save" to control if the server can save and load client preferences.
__________________
Silvers is offline
Darkwob
BANNED
Join Date: Oct 2018
Old 09-26-2020 , 11:59   Re: [L4D & L4D2] Flashlight (2.10) [18-Sep-2020]
Reply With Quote #83

can skin color and glow versions of this plugin be made ? Along with the menu.

Last edited by Darkwob; 09-26-2020 at 11:59.
Darkwob is offline
marki89
Senior Member
Join Date: Jun 2020
Location: Argentina
Old 02-16-2021 , 13:25   Re: [L4D & L4D2] Flashlight (2.11) [09-Oct-2020]
Reply With Quote #84

Hi, could you add more colors because I put these colors lime | maroon | teal | gray | and they don't appear
marki89 is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 04-25-2021 , 15:57   Re: [L4D & L4D2] Flashlight (2.11) [09-Oct-2020]
Reply With Quote #85

Can I ask you please include:
- Added "sm_light off" command

I remember, I did it this way:

PHP Code:
void CommandLight(int clientint args, const char[] sArg)
{
...
        
strcopy(g_sPlayerModel[client], sizeof(sTempStr), sTempStr);
    }

    if( 
args == )
    {
        if( 
strcmp(sArg"off"false) == ) {
            
DeleteLight(client);
            return;
        }
    }

    
// Check if they have a light, or try to create
    
int entity g_iLightIndex[client]; 
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 04-28-2021 , 06:11   Re: [L4D & L4D2] Flashlight (2.12) [28-Apr-2021]
Reply With Quote #86

Quote:
Originally Posted by marki89 View Post
Hi, could you add more colors because I put these colors lime | maroon | teal | gray | and they don't appear
Already part of the plugin.



Quote:
Originally Posted by Dragokas View Post
Can I ask you please include:
- Added "sm_light off" command

I remember, I did it this way:
Updated:
Code:
2.12 (28-Apr-2021)
    - Changed command "sm_light" to accept "off" param to turn off the light. Thanks to "Dragokas" for requesting.
__________________
Silvers is offline
VladimirTk
Senior Member
Join Date: Apr 2021
Location: Perú - Latino América
Old 05-11-2021 , 12:06   Re: [L4D & L4D2] Flashlight (2.12) [28-Apr-2021]
Reply With Quote #87

Sorry to bother you but how can I disable the chat notification?
sometimes he announces it many times
VladimirTk is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 05-11-2021 , 12:09   Re: [L4D & L4D2] Flashlight (2.12) [28-Apr-2021]
Reply With Quote #88

Try disabling the l4d_flashlight_intro cvar.

PHP Code:
// 0=Off, Show intro message in chat this many seconds after joining.
// Minimum: "0.000000" Maximum: "120.000000"
l4d_flashlight_intro "35.0" 
__________________
Marttt is offline
A1ekin
Member
Join Date: Jul 2021
Old 07-10-2021 , 10:58   Re: [L4D & L4D2] Flashlight (2.13) [01-Jul-2021]
Reply With Quote #89

Sorry if this question has already been asked here, but I have very poor knowledge of English, so I use a translator.

I have a problem on my server with this plugin

I can't use a flashlight for spec and infected

HTML Code:
CVAR - l4d_flashlight_spec "7"
In the infected team, I see a notification from SourceMod (You do not have access to this command), and the flashlight does not appear behind the spec

What did I miss or did wrong?

Use Priority Patch and Attachments API I have installed


UPD: if I put the cvar value "2", I still see the error "you do not have access to this command"

Last edited by A1ekin; 07-10-2021 at 11:09.
A1ekin is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 07-10-2021 , 11:52   Re: [L4D & L4D2] Flashlight (2.13) [01-Jul-2021]
Reply With Quote #90

Is the cvar "l4d_flashlight_flags" set to ""? Is the cvar "l4d_flashlight_allow" set to "1". Aside from that and the spectator cvar it should work, unless you're using the command override system to restrict the "sm_light" command to certain flags.
__________________
Silvers 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 20:36.


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