Can't Make AMX File -
xXxFerZExXx - 17.09.2013
Hello Everybody Im Very New To Scripting
Im Just Learning Pawno
So Here's the problem
When I Created a filter script in pawno and when i compile it for making the .AMX File i get these fatal errors
Код:
C:\Documents and Settings\Administrator\Desktop\My Servers\BF5\gamemodes\BF5.pwn(22) : fatal error 100: cannot read from file: "sscanf"
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
so if u please help me it would be great
Re: Can't Make AMX File -
alinategh - 17.09.2013
You should have the "sscanf.inc" include in your "pawno\include" folder.
Re: Can't Make AMX File -
Konstantinos - 17.09.2013
File include of Sscanf is sscanf2.inc
Change to:
And make sure that the sscanf2.inc file is into pawno\include directory. Then re-compile your scripts. If it did not give any error, then it will compile to .amx file.
Re: Can't Make AMX File -
xXxFerZExXx - 17.09.2013
Код HTML:
C:\Documents and Settings\Administrator\Desktop\My Servers\BF5\gamemodes\BF5.pwn(25) : fatal error 100: cannot read from file: "boxmsg"
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
and now this error
Re: Can't Make AMX File -
Konstantinos - 17.09.2013
The mode you have uses a boxmsg.inc file. Find it from the place you got the mode and place it to pawno\include as well.
Re: Can't Make AMX File -
alinategh - 17.09.2013
Again, make sure you have all of the includes that you defined in the gamemode, in your pawno/include folder...
Re: Can't Make AMX File -
xXxFerZExXx - 17.09.2013
I See All Includes in Pawno/include and in the script
Код:
#include <a_samp>
#include <zcmd>
#include <sscanf2>
#include <streamer>
#include <foreach>
#include <boxmsg>
ive seen zcmd,sscanf2,streamer,foreach boxmsg files in pawno/include
but it still says the error
Re: Can't Make AMX File -
Konstantinos - 17.09.2013
Go up, it directs you to pawno directory. Run pawno.exe and then click on "Open File". Double click on your .pwn file that it should be in the same main directory you're using the pawno.exe from. Re-compile.
Re: Can't Make AMX File -
caoraivoso3 - 17.09.2013
and you should use the last version of that includes.