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

[CS:GO] Flashlight (1.3.62)


Post New Thread Reply   
 
Thread Tools Display Modes
Nolongerinthegame
AlliedModders Donor
Join Date: Sep 2005
Old 01-29-2015 , 03:56   Re: [CS:GO] Flashlight (1.3.2) [Added Enabled Cvar]
Reply With Quote #31

Quote:
Originally Posted by Mitchell View Post
I will probably be adding more features to this to fully control over player's use of flashlight
Looking forward to it -the sound would be wonderful
Nolongerinthegame is offline
live4net
AlliedModders Donor
Join Date: Jul 2014
Old 02-27-2015 , 17:07   Re: [CS:GO] Flashlight (1.3.2) [Added Enabled Cvar]
Reply With Quote #32

After todays update of CS:GO, if someone turn flashlight ON, game is crashing
__________________

live4net is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 02-28-2015 , 15:30   Re: [CS:GO] Flashlight (1.3.2) [Added Enabled Cvar]
Reply With Quote #33

Quote:
Originally Posted by live4net View Post
After todays update of CS:GO, if someone turn flashlight ON, game is crashing
Works fine for me..
Mitchell is offline
Nolongerinthegame
AlliedModders Donor
Join Date: Sep 2005
Old 02-28-2015 , 16:14   Re: [CS:GO] Flashlight (1.3.2) [Added Enabled Cvar]
Reply With Quote #34

Mitchell - any more news re the flashlight sound?
Nolongerinthegame is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 02-28-2015 , 17:05   Re: [CS:GO] Flashlight (1.3.2) [Added Enabled Cvar]
Reply With Quote #35

Quote:
Originally Posted by nelioneil View Post
Mitchell - any more news re the flashlight sound?
Alright you will need https://forums.alliedmods.net/showthread.php?t=237045 to compile it with the flashlight sound. I will attach a .smx though that has it already compiled. Downloading the .smx via "Get Plugin" will NOT have the sound cvar and functions.
THe convar is "sm_flashlight_sound" i'd recommend adding it to the cfg/sourcemod/plugin.CsGoFlashlight.cfg and changing the value to "items\flashlight1.wav" as the sound will be off on default.
Attached Files
File Type: sp Get Plugin or Get Source (CsGoFlashlight.sp - 423 views - 3.3 KB)
File Type: smx CsGoFlashlight.smx (5.5 KB, 176 views)

Last edited by Mitchell; 02-28-2015 at 17:05.
Mitchell is offline
extr1m725
Member
Join Date: Oct 2014
Old 03-27-2015 , 09:09   Re: [CS:GO] Flashlight (1.3.2) [Added Enabled Cvar]
Reply With Quote #36

The error in the logs, what to do?(The latest version plugins)
Quote:
L 03/27/2015 - 0819: Error log file session closed.
L 03/27/2015 - 0819: SourceMod error session started
L 03/27/2015 - 0819: Info (map "zm_old_forest_beta1") (file "errors_20150327.log")
L 03/27/2015 - 0819: [SM] Native "IsClientInGame" reported: Client index 0 is invalid
L 03/27/2015 - 0819: [SM] Displaying call stack trace for plugin "CsGoFlashlight.smx":
L 03/27/2015 - 0819: [SM] [0] Line 73, CsGoFlashlight.sp::Command_FlashLight()

Last edited by extr1m725; 03-27-2015 at 09:10.
extr1m725 is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 03-27-2015 , 11:28   Re: [CS:GO] Flashlight (1.3.2) [Added Enabled Cvar]
Reply With Quote #37

Quote:
Originally Posted by extr1m725 View Post
The error in the logs, what to do?(The latest version plugins)
The only way you could get that error is if you run the flashlight command from console...
Mitchell is offline
TheWho
AlliedModders Donor
Join Date: Jul 2012
Old 04-03-2015 , 22:02   Re: [CS:GO] Flashlight (1.3.2) [Added Enabled Cvar]
Reply With Quote #38

Quote:
Originally Posted by Mitchell View Post
Alright you will need https://forums.alliedmods.net/showthread.php?t=237045 to compile it with the flashlight sound. I will attach a .smx though that has it already compiled. Downloading the .smx via "Get Plugin" will NOT have the sound cvar and functions.
THe convar is "sm_flashlight_sound" i'd recommend adding it to the cfg/sourcemod/plugin.CsGoFlashlight.cfg and changing the value to "items\flashlight1.wav" as the sound will be off on default.
Where is the problem to use this..
PHP Code:
EmitSoundToClient(client"items/flashlight1.wav"SOUND_FROM_PLAYERSNDCHAN_STATICSNDLEVEL_NORMAL_1.0); 
Im using EmitSoundToClient since csgo..

Last edited by TheWho; 04-03-2015 at 22:03.
TheWho is offline
Nolongerinthegame
AlliedModders Donor
Join Date: Sep 2005
Old 04-20-2015 , 18:17   Re: [CS:GO] Flashlight (1.3.2) [Added Enabled Cvar]
Reply With Quote #39

Ok so the flashlight sound works for players, how do we get it so other people cna hear the sound too (like in CSS)
Nolongerinthegame is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 04-20-2015 , 20:38   Re: [CS:GO] Flashlight (1.3.2) [Added Enabled Cvar]
Reply With Quote #40

Quote:
Originally Posted by nelioneil View Post
Ok so the flashlight sound works for players, how do we get it so other people cna hear the sound too (like in CSS)
try this:
Attached Files
File Type: sp Get Plugin or Get Source (CsGoFlashlight.sp - 431 views - 3.2 KB)
Mitchell 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 00:00.


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