SA-MP Forums Archive
Regarding FloodControl.inc - 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: Regarding FloodControl.inc (/showthread.php?tid=533082)



Regarding FloodControl.inc - biker122 - 22.08.2014

Well, I just got no idea why this occurs..
Error line:
pawn Код:
#if !defined MAX_JOIN_LOGS // << -- Line 1
    #define MAX_JOIN_LOGS (30)
#endif
Error:
pawn Код:
C:\Users\Danger\Desktop\UGB\pawno\include\FloodControl.inc(1) : error 010: invalid function or declaration
This is making me mad as hell!


Re: Regarding FloodControl.inc - AzaMx - 22.08.2014

Maybe get the latest floodcontrol.inc? it working fine for me


Re: Regarding FloodControl.inc - biker122 - 22.08.2014

Um, I do have the latest include..
Any other ideas?


Re: Regarding FloodControl.inc - AzaMx - 22.08.2014

try this?

pawn Код:
#if !defined MAX_JOIN_LOGS
    #define MAX_JOIN_LOGS (50)
#endif



Re: Regarding FloodControl.inc - biker122 - 22.08.2014

Well, nvm.
I re-created the include again, And eventually it just got compiled.
Thanks anyways!