Raised This Month: $ Target: $400
 0% 

Custom Flashlight v0.5.4 (10/20/09)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 07-30-2010 , 00:53   Re: Custom Flashlight v0.5.4 (10/20/09)
Reply With Quote #1

Edit line 66 67 of .sma :

PHP Code:
new const SOUND_FLASHLIGHT_ON[] = "items/flashlight1.wav"
new const SOUND_FLASHLIGHT_OFF[] = "items/flashlight1.wav" 
->

PHP Code:
new const SOUND_FLASHLIGHT_ON[] = "common/null.wav"
new const SOUND_FLASHLIGHT_OFF[] = "common/null.wav" 
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
schmurgel1983
Veteran Member
Join Date: Aug 2006
Location: Germany
Old 04-22-2011 , 08:34   Re: Custom Flashlight v0.5.4 (10/20/09)
Reply With Quote #2

Put this code in amxx.cfg (or maps/de_dust2.cfg, maps/prefix_de.ini etc..)
is not correct
look admin.sma "%s/maps/prefix_%s.cfg"

i have try it with ini and i was wonder why the changes not changed

but your flashlight plugin is really cool ^^
__________________

Working on:
nothing

Last edited by schmurgel1983; 04-22-2011 at 08:36.
schmurgel1983 is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 04-22-2011 , 10:59   Re: Custom Flashlight v0.5.4 (10/20/09)
Reply With Quote #3

Because i have forgotten to add /flashlight/ folder in description, gonna edit it (for random colors)
For commands, use default amxx system.
__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 04-22-2011 at 11:04.
ConnorMcLeod is offline
schmurgel1983
Veteran Member
Join Date: Aug 2006
Location: Germany
Old 04-22-2011 , 13:25   Re: Custom Flashlight v0.5.4 (10/20/09)
Reply With Quote #4

that what i said "maps/prefix_de.ini" "maps/prefix_de.cfg" (amxx admin.sma)
for flashlight_set *

the folder flashlight is for colors.
__________________

Working on:
nothing
schmurgel1983 is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 04-22-2011 , 13:54   Re: Custom Flashlight v0.5.4 (10/20/09)
Reply With Quote #5

Yes, .cfg files (default amxx system) for command (like any game/plugins commands), and flashlight/*.ini files for predefined random colors.
First post edited, thanks.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
zeus
Senior Member
Join Date: Jul 2008
Old 06-27-2011 , 17:28   Re: Custom Flashlight v0.5.4 (10/20/09)
Reply With Quote #6

Can you make a cvar to select wich team is allowed to use the flashlight?
For example flashlight_allow_team 0 - none, 1 - ct, 2 - t , 3 - all
zeus is offline
F0RCE
Senior Member
Join Date: Oct 2010
Old 08-20-2011 , 20:04   Re: Custom Flashlight v0.5.4 (10/20/09)
Reply With Quote #7

yea - this would be great !

I need the same cvar
F0RCE is offline
Kiske
Veteran Member
Join Date: May 2009
Old 08-26-2011 , 20:38   Re: Custom Flashlight v0.5.4 (10/20/09)
Reply With Quote #8

Hi.

I'm sorry, but is it normal for the plugin to cause lag when a lot of users are using it?
flashlight_set show is in 1.

Thanks in advance.
Kiske is offline
Send a message via Skype™ to Kiske
anssart
Junior Member
Join Date: Sep 2011
Old 09-17-2011 , 06:29   Re: Custom Flashlight v0.5.4 (10/20/09)
Reply With Quote #9

can someone make plugin that flashlights be visible only for team?
anssart is offline
Send a message via Skype™ to anssart
bymisi
Member
Join Date: Apr 2010
Location: Budapest / Hungary
Old 04-14-2012 , 04:58   Re: Custom Flashlight v0.5.4 (10/20/09)
Reply With Quote #10

Very NiCE plugin !!
Thank you ConnorMcLeod
__________________
by_[MiSi]
bymisi is offline
Send a message via Skype™ to bymisi
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 07:38.


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