Can't Make AMX File
#1

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
Reply
#2

You should have the "sscanf.inc" include in your "pawno\include" folder.
Reply
#3

File include of Sscanf is sscanf2.inc

Change to:
pawn Код:
#include < sscanf2 >
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.
Reply
#4

Код 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
Reply
#5

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.
Reply
#6

Again, make sure you have all of the includes that you defined in the gamemode, in your pawno/include folder...
Reply
#7

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
Reply
#8

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.
Reply
#9

and you should use the last version of that includes.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)