Raised This Month: $51 Target: $400
 12% 

Can anyone tell me whats wrong with this?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
AuricYoutube
Senior Member
Join Date: Aug 2016
Location: Here
Old 06-06-2018 , 02:52   Can anyone tell me whats wrong with this?
Reply With Quote #1

So I was on the influx timer discord and I asked for a credit reward plugin, Mehis coded one for me but I have one issue, when I try to compile it, it returns to me with problems with convars.inc.

Here is what the errors look like

Code:
convars.inc(37) : warning 201: redefinition of constant/macro (symbol "ConVarBounds")
convars.inc(38) : error 021: symbol already defined: "ConVarBound_Upper"
convars.inc(46) : warning 201: redefinition of constant/macro (symbol "ConVarQueryResult")
convars.inc(47) : error 021: symbol already defined: "ConVarQuery_Okay"
convars.inc(72) : error 021: symbol already defined: "CreateConVar"
convars.inc(84) : error 021: symbol already defined: "FindConVar"
convars.inc(87) : error 110: ConVar has already been defined (previously seen as methodmap)
convars.inc(91) : error 021: symbol already defined: "ConVar.BoolValue.get"
convars.inc(92) : error 021: symbol already defined: "ConVar.BoolValue.set"
convars.inc(97) : error 021: symbol already defined: "ConVar.IntValue.get"
convars.inc(98) : error 021: symbol already defined: "ConVar.IntValue.set"
convars.inc(103) : error 021: symbol already defined: "ConVar.FloatValue.get"
convars.inc(104) : error 021: symbol already defined: "ConVar.FloatValue.set"
convars.inc(109) : error 021: symbol already defined: "ConVar.Flags.get"
convars.inc(110) : error 021: symbol already defined: "ConVar.Flags.set"
convars.inc(125) : error 021: symbol already defined: "ConVar.SetBool"
convars.inc(139) : error 021: symbol already defined: "ConVar.SetInt"
convars.inc(153) : error 021: symbol already defined: "ConVar.SetFloat"
convars.inc(160) : error 021: symbol already defined: "ConVar.GetString"
convars.inc(174) : error 021: symbol already defined: "ConVar.SetString"
convars.inc(187) : error 021: symbol already defined: "ConVar.RestoreDefault"
convars.inc(194) : error 021: symbol already defined: "ConVar.GetDefault"
convars.inc(201) : error 021: symbol already defined: "ConVar.GetBounds"
convars.inc(208) : error 021: symbol already defined: "ConVar.SetBounds"
convars.inc(214) : error 021: symbol already defined: "ConVar.GetName"
convars.inc(222) : error 021: symbol already defined: "ConVar.ReplicateToClient"
convars.inc(227) : error 021: symbol already defined: "ConVar.AddChangeHook"
convars.inc(234) : error 021: symbol already defined: "ConVar.RemoveChangeHook"
And here is the plugin

Code:
#include <sourcemod>

#include <influx/core>
// Include store


public void Influx_OnTimerFinishPost( int client, int runid, int mode, int style, float time, float prev_pb, float prev_best, int flags )
{
    // Is personal best or their first record
    if ( flags & (RES_TIME_PB | RES_TIME_FIRSTOWNREC) ) 
    {
        // Give points
    }
}
If you know the issue please help me
AuricYoutube is offline
LenHard
Senior Member
Join Date: Jan 2016
Old 06-06-2018 , 06:12   Re: Can anyone tell me whats wrong with this?
Reply With Quote #2

Maybe the "<influx/core>" file is re-including convars.inc
(convars.inc is automatically included in sourcemod.inc)
__________________

Last edited by LenHard; 06-06-2018 at 06:15.
LenHard 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 18:24.


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