View Single Post
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 01-29-2011 , 12:54   Re: [L4D & L4D2] Flare and Light Package (1.0) [29-Jan-2011]
Reply With Quote #11

kwski43: It should only display if the variable is set to 1. Set to 0 it should be off and 2 means the bounce is forced and so the message should not display either. Also: g_hGunAllow is a handle, not variable so I doubt your edit would have worked...

EDIT: I see I forgot to check that g_bGunAllow is enabled, thats the one you wanted Also because it's a boolean you don't need the "== 1" (which would give a tag mismatch warning).


alexip121093: The ground flare models remove after 2 minutes. Maybe I'll add a cvar so you can choose when they should delete. I cannot/will not remove the limit as the plugin stores entity IDs of what it creates so it can delete if the plugins unloaded. What maximum limit anyway? The flare 1 per player?


Elektramode: I've built this along side all my plugins and roughly 40 others. Consider updating Gear Transfer thats a very old version! Also it should work on any gamemode.

To create a flare with blue light: !flare 0 0 255
To turn on the attached light and make it green: !light 0 255 0
__________________

Last edited by Silvers; 01-29-2011 at 13:05.
Silvers is offline