SA-MP Forums Archive
Warning - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Warning (/showthread.php?tid=512217)



Warning - HOB1x - 09.05.2014

pawn Код:
C:\Users\user\Desktop\MetLifeLS\MetLife\pawno\include\ZAntiMoneyHack.inc(108) : warning 201: redefinition of constant/macro (symbol "OnPlayerConnect")
C:\Users\user\Desktop\MetLifeLS\MetLife\pawno\include\ZAntiMoneyHack.inc(109) : warning 201: redefinition of constant/macro (symbol "OnPlayerCommandText")
C:\Users\user\Desktop\MetLifeLS\MetLife\pawno\include\ZAntiMoneyHack.inc(110) : warning 201: redefinition of constant/macro (symbol "OnFilterScriptInit")
C:\Users\user\Desktop\MetLifeLS\MetLife\pawno\include\ZAntiMoneyHack.inc(112) : warning 201: redefinition of constant/macro (symbol "OnGameModeInit")
how i fix this warnings?


AW: Warning - Pepino960 - 09.05.2014

its normal that u havnt got the line 49019. Ist allways the last line after the last line.

this just tells you that you have defined the symbols but never used them. Code?


Re: Warning - Faisal_khan - 09.05.2014

EDIT: nevermind... ^^


Re: Warning - HOB1x - 09.05.2014

pawn Код:
C:\Users\user\Desktop\MetLifeLS\MetLife\pawno\include\ZAntiMoneyHack.inc(108) : warning 201: redefinition of constant/macro (symbol "OnPlayerConnect")
C:\Users\user\Desktop\MetLifeLS\MetLife\pawno\include\ZAntiMoneyHack.inc(109) : warning 201: redefinition of constant/macro (symbol "OnPlayerCommandText")
C:\Users\user\Desktop\MetLifeLS\MetLife\pawno\include\ZAntiMoneyHack.inc(110) : warning 201: redefinition of constant/macro (symbol "OnFilterScriptInit")
C:\Users\user\Desktop\MetLifeLS\MetLife\pawno\include\ZAntiMoneyHack.inc(112) : warning 201: redefinition of constant/macro (symbol "OnGameModeInit")
how i fix this warnings?


Re: Warning - Faisal_khan - 09.05.2014

Did you defined OnPlayerConnect and the rest in your gamemode somewhere? If yes, then show the code.


Re: Warning - HOB1x - 09.05.2014

no i dont have #define OnPlayerConnect..
how i define and where on top or ?
Say me


Re: Warning - Faisal_khan - 09.05.2014

Or do you have a stock OnPlayerConnect?


Re: Warning - Stinged - 09.05.2014

Just post the code.


Re: Warning - HOB1x - 09.05.2014

no i dont have stock,define,forward... tell me how to define or stock ..


Re: Warning - Stinged - 09.05.2014

You shouldn't do anything to it.
All of them are from sa-mp.

Can you post the code?