AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved/Old Plugins (https://forums.alliedmods.net/forumdisplay.php?f=27)
-   -   Flare (Calzinger) (https://forums.alliedmods.net/showthread.php?t=1422)

kingpin 04-26-2004 17:15

Flare (Calzinger)
 
1 Attachment(s)
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!
http://calzinger.net/graphics/flare.jpg

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.

|2ob 04-26-2004 18:07

cool, i will probibly run with one of the custom maps i have... like climb, in the elevator shaft :)

kingpin 04-26-2004 18:36

heh I just tried it with no other mods on a test server on dust and now the server is full....

Hangman5386 04-27-2004 09:55

Code:
#include <Vexd_Utilities>
wtf? :)

kingpin 04-27-2004 11:40

lol yeah well try compiling without... then tell me ;)

AssKicR 04-27-2004 11:48

1 Attachment(s)
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.

kingpin 04-27-2004 16:49

hmmm works fine for me, still up and running on 65.125.235.26:27017

AssKicR 04-27-2004 18:30

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>

kingpin 04-27-2004 20:17

ah didnt noe that. lesson learned, but how come that file is included as .inc?

AssKicR 04-28-2004 09:41

somebody type .inc somebody doesn't..


All times are GMT -4. The time now is 20:31.

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