AMX Help.
#1

Why is my AMX getting deleted each time I compile my PWN file?
Reply
#2

Because it probably has got errors which need to be fixed?
Reply
#3

Does the compiler display any error?
Or you may have a wrong Pawno option, check "Build" -> "Run options" -> "Copy script to directory", it should be "\".
Reply
#4

The only error I got is some error but it compiled and worked earlier...
Reply
#5

Does the compiler output display this?
Код:
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase
or even this?
Код:
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase

Header size:            <some> bytes
Code size:              <some> bytes
Data size:               <some> bytes
Stack/heap size:      <some> bytes; estimated max. usage=<some> cells (<some> bytes)
Total requirements:   <some> bytes;
Also, Pawno status bar should say "File 'X.pwn' has been compiled to 'X.amx'." or "Unable to compile "X.pwn".
Reply
#6

The first code appears.
Reply
#7

That means it compiled successfully, which is the case I see negative.
Post us the result (the code) what it says when you compile!
Reply
#8

I'm bed right now but I will post it tomorrow, olay? Please keep an eye on this thread.
Reply
#9

Oh okay, it says compile aborted but this is the only error I got:
pawn Код:
#include <foreach>
pawn Код:
C:\Documents and Settings\------\Mina dokument\Downloads\SR-RP.pwn(6) : fatal error 100: cannot read from file: "foreach"

Compilation aborted.Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
Reply
#10

You are missing the foreach include, I will give you a link for the download in a moment.
Reply


Forum Jump:


Users browsing this thread: 5 Guest(s)