SA-MP Forums Archive
[HELP] Problem with JunkBuster.inc file - 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: [HELP] Problem with JunkBuster.inc file (/showthread.php?tid=313777)



[HELP] Problem with JunkBuster.inc file - c0GI - 27.01.2012

Hy, I have a problem with JunkBuster Anti-Cheat!!! My problem is when I put the JunkBuster.inc file into pawno/include
folder, and when I open my gamemode, I put "#include <JunkBuster>" on top of gm! But, when I compile my gamemode, the compiler show me a 2 warning!!
Quote:

D:\Nikola i Marko\BE\pawno\include\JunkBuster.inc(3241) : warning 201: redefinition of constant/macro (symbol "OnPlayerEnterRaceCheckpoint")
D:\Nikola i Marko\BE\gamemodes\gtasp.pwn(151) : warning 201: redefinition of constant/macro (symbol "MAX_PING")

The problem is in JunkBuster.inc file, but I don't how to fix it? HELP ME PLEASE


Re: [HELP] Problem with JunkBuster.inc file - MP2 - 27.01.2012

You have MAX_PING and OnPlayerEnterRaceCheckpoint defined twice. The error tells you that.