SA-MP Forums Archive
KickBan include Error when compiling - 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: KickBan include Error when compiling (/showthread.php?tid=551507)



KickBan include Error when compiling - Skyflyer - 19.12.2014

Hello, so I am a learner scripter. I have been editing a base script and came ascross this error. I have thought about the possible solutions, but yet not conducted them. I have thought about a updated include but I don't think that is the problem. I have looked for a updated version but cannot find one. I have the KickBan.inc in my pawn > includes folder, yet still gives this error:

C:\Users\**** Fast\Desktop\*** ***\gamemodes\GM.pwn(17) : fatal error 100: cannot read from file: "KickBan"

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.

((*** 's are for copyright purposes and confidentialitly. I don't want to release my script just yet.))


Re: KickBan include Error when compiling - 1fret - 19.12.2014

Did you put
pawn Код:
#include <KickBan>
At the top of your script


Re: KickBan include Error when compiling - Skyflyer - 19.12.2014

Yes.


Re: KickBan include Error when compiling - FiveCentz - 19.12.2014

I've had exact errors like this before, to be honest the only thing that fixed it was getting an updated include.


Re: KickBan include Error when compiling - FunnyBear - 19.12.2014

Are you opening up your gamemode directly from the GameModes folder?

If you are, go into the Pawno folder then open up the pawno editor and open your gamemode manually from there.

It should work


Re: KickBan include Error when compiling - UltraScripter - 19.12.2014

if it dont work try to script it with sscanf and zcmd!


Re: KickBan include Error when compiling - MohanedZzZ - 19.12.2014

Go to your gamemode file and press on the "Pawno" file and open your pawno then choose gamemode and complite it.
--
You need to choose the pawno.exe from the folder who has KickBan.inc in the includes so the include can load, got it ?


Re: KickBan include Error when compiling - UltraScripter - 19.12.2014

you just said what funnybear said!!!


Re: KickBan include Error when compiling - MohanedZzZ - 19.12.2014

Quote:
Originally Posted by UltraScripter
Посмотреть сообщение
you just said what funnybear said!!!
No i didn't,
I posted an explain, if my answer are useful then backstep please.