Raised This Month: $ Target: $400
 0% 

Flare (Calzinger)


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff       
kingpin
Veteran Member
Join Date: Apr 2004
Location: kpsforum.com
Old 04-26-2004 , 17:15   Flare (Calzinger)
Reply With Quote #1

This plugin is by Calzinger.
Quote:
Calzinger Wrote :
The Flares plugin is used to brighten up dark areas of a map. Clients that want to use the flares must buy them first. Flares are especially good while NightFight mode is on where the whole map is completely dark. The flares help do distinguish areas. Enjoy!


Code:
/* /*    FLARES v1.2    By Calzinger    Contact:       Email: <a href="mailto:[email protected]">[email protected]</a>       AIM: XSouLHeLLTemplaR       MSN: <a href="mailto:[email protected]">[email protected]</a>    Thanks to Nerdz for the Night Fight idea.        *******************************************************************************         Ported By KingPin([email protected]). I take no responsibility     for this file in any way. Use at your own risk. No warranties of any kind.    *******************************************************************************    Quick Description:       This plugin will allow the user to buy flares and then fire them in dark areas.       The costs and maximum number of carriable flares are customizable through a CVAR,       along with the duration of the flare.Each flare has a unique color that is chosen       randomly. If you are somewhat far from the flare, your hands and weapon will tint       the color of that flare.    CVARs:       flare_cost 400 -> Cost of each flare       flare_max 5 -> Max number of flares to carry at a time       flare_duration 10.0 -> Length of flare (in seconds), must be a float       flare_start 10 -> Number of flares a player gets per lifetime (NOT APPLY TO CSTRIKE)    Client Commands:       say /buyflare -> Buy a flare       shootflare -> Shoot a flare    Admin Commands:       amx_flare -> Shoot a flare (ADMIN ONLY; NO AMMO PENALTY)       amx_nightfight < toggle > OR < 1/0 or on/off > -> Turn on/off NightFights */ #include <amxmodx> #include <amxmisc> #include <cstrike> #include <Vexd_Utilities>

Enjoy and post any problems with this plugin here, I will try my best to help you out with them.
Attached Files
File Type: sma Get Plugin or Get Source (flare.sma - 1923 views - 10.4 KB)
__________________
kingpin is offline
Send a message via ICQ to kingpin Send a message via AIM to kingpin Send a message via MSN to kingpin Send a message via Yahoo to kingpin Send a message via Skype™ to kingpin
|2ob
Senior Member
Join Date: Mar 2004
Location: Ontario, Canada
Old 04-26-2004 , 18:07  
Reply With Quote #2

cool, i will probibly run with one of the custom maps i have... like climb, in the elevator shaft
__________________
24/7 Custom Maps Vitrus | Style by www.WebGZ.net
64.247.24.125:27015

Visit Vitrus's Clan Site!

I would put more, but they have a limit on chars
|2ob is offline
Send a message via AIM to |2ob Send a message via MSN to |2ob
kingpin
Veteran Member
Join Date: Apr 2004
Location: kpsforum.com
Old 04-26-2004 , 18:36  
Reply With Quote #3

heh I just tried it with no other mods on a test server on dust and now the server is full....
__________________
kingpin is offline
Send a message via ICQ to kingpin Send a message via AIM to kingpin Send a message via MSN to kingpin Send a message via Yahoo to kingpin Send a message via Skype™ to kingpin
Hangman5386
Member
Join Date: Mar 2004
Old 04-27-2004 , 09:55  
Reply With Quote #4

Code:
#include <Vexd_Utilities>
wtf?
Hangman5386 is offline
kingpin
Veteran Member
Join Date: Apr 2004
Location: kpsforum.com
Old 04-27-2004 , 11:40  
Reply With Quote #5

lol yeah well try compiling without... then tell me ;)
__________________
kingpin is offline
Send a message via ICQ to kingpin Send a message via AIM to kingpin Send a message via MSN to kingpin Send a message via Yahoo to kingpin Send a message via Skype™ to kingpin
AssKicR
Veteran Member
Join Date: Mar 2004
Location: Norway-Europe(GTM+1)
Old 04-27-2004 , 11:48  
Reply With Quote #6

Ur Version
Code:
flare.SMA(88) : error 017: undefined symbol "Entvars_Get_String"
flare.SMA(92) : error 017: undefined symbol "Entvars_Get_Vector"
flare.SMA(140) : error 017: undefined symbol "Entvars_Set_Int"
flare.SMA(141) : error 017: undefined symbol "Entvars_Set_Int"
flare.SMA(142) : error 017: undefined symbol "Entvars_Set_Float"
flare.SMA(143) : error 017: undefined symbol "Entvars_Set_Vector"
flare.SMA(181) : error 017: undefined symbol "Entvars_Get_Vector"
flare.SMA(183) : error 017: undefined symbol "CreateEntity"
flare.SMA(184) : error 017: undefined symbol "Entvars_Set_String"
flare.SMA(185) : error 017: undefined symbol "ENT_SetModel"
flare.SMA(186) : error 017: undefined symbol "ENT_SetOrigin"
flare.SMA(188) : error 017: undefined symbol "Entvars_Set_Int"
flare.SMA(189) : error 017: undefined symbol "Entvars_Set_Edict"
flare.SMA(191) : error 017: undefined symbol "Entvars_Set_Int"
flare.SMA(192) : error 017: undefined symbol "Entvars_Set_Float"
flare.SMA(194) : error 017: undefined symbol "Entvars_Set_Int"
flare.SMA(199) : error 017: undefined symbol "Entvars_Set_Vector"
flare.SMA(218) : error 017: undefined symbol "Entvars_Get_Vector"
flare.SMA(220) : error 017: undefined symbol "CreateEntity"
flare.SMA(221) : error 017: undefined symbol "Entvars_Set_String"
flare.SMA(222) : error 017: undefined symbol "ENT_SetModel"
flare.SMA(223) : error 017: undefined symbol "ENT_SetOrigin"
flare.SMA(225) : error 017: undefined symbol "Entvars_Set_Int"
flare.SMA(226) : error 017: undefined symbol "Entvars_Set_Edict"
flare.SMA(228) : error 017: undefined symbol "Entvars_Set_Int"
flare.SMA(229) : error 017: undefined symbol "Entvars_Set_Float"

Compilation aborted.
26 Errors.
My Version
Code:
Done.
Attached Files
File Type: sma Get Plugin or Get Source (flare.sma - 1329 views - 10.4 KB)
__________________
My Plugins

Got ??
AssKicR is offline
kingpin
Veteran Member
Join Date: Apr 2004
Location: kpsforum.com
Old 04-27-2004 , 16:49  
Reply With Quote #7

hmmm works fine for me, still up and running on 65.125.235.26:27017
__________________
kingpin is offline
Send a message via ICQ to kingpin Send a message via AIM to kingpin Send a message via MSN to kingpin Send a message via Yahoo to kingpin Send a message via Skype™ to kingpin
AssKicR
Veteran Member
Join Date: Mar 2004
Location: Norway-Europe(GTM+1)
Old 04-27-2004 , 18:30  
Reply With Quote #8

Quote:
Originally Posted by kingpin
hmmm works fine for me, still up and running on 65.125.235.26:27017
well you used

#include <Vexd_Utilities>

that is a NO NO

u are supposed to use #include <engine>
__________________
My Plugins

Got ??
AssKicR is offline
kingpin
Veteran Member
Join Date: Apr 2004
Location: kpsforum.com
Old 04-27-2004 , 20:17  
Reply With Quote #9

ah didnt noe that. lesson learned, but how come that file is included as .inc?
__________________
kingpin is offline
Send a message via ICQ to kingpin Send a message via AIM to kingpin Send a message via MSN to kingpin Send a message via Yahoo to kingpin Send a message via Skype™ to kingpin
AssKicR
Veteran Member
Join Date: Mar 2004
Location: Norway-Europe(GTM+1)
Old 04-28-2004 , 09:41  
Reply With Quote #10

somebody type .inc somebody doesn't..
__________________
My Plugins

Got ??
AssKicR 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 12:28.


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