SA-MP Forums Archive
need help - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: need help (/showthread.php?tid=100941)



need help - Eazy1993 - 07.10.2009

hai, i'm a new scripter and, there is something wrong with my script and i don't know how to fix it.

when i've opened my script ( with pawno), i'll do compile and he gives 1 error and said this:

[color=red][C:\DOCUME~1\GEBRUI~1\MIJNDO~1\DYLAN'~1\SAMPSE~1\RP AS.pwn(5) : fatal error 100: cannot read from file: "mapicon"

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


1 Error.
/color]

can some one help me to fix this problem?


Re: need help - Correlli - 07.10.2009

Make sure you have mapicon file in your \pawno\include\ folder.


Re: need help - sandisk125 - 07.10.2009

look at the top of your script.
you see a line: "include <mapicon>"?
if you see this line,then delete it.



Re: need help - Eazy1993 - 07.10.2009

when i do that it gives another error:

C:\DOCUME~1\GEBRUI~1\MIJNDO~1\DYLAN'~1\SAMPSE~1\RP AS.pwn(7) : fatal error 100: cannot read from file: "morphinc"

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


1 Error.



and i have MapIcon.INC or morphinc.INC


Re: need help - sandisk125 - 07.10.2009

and i have MapIcon.INC or morphinc.INC
[/quote]
what you have the files mapicon.inc and morphinc.inc?
than go to your pawno/includes folder and rename the MapIcon.inc to mapicon.inc (without caps lock,and without the INC at the end.
or if you don't want to use this includes,then go to the top of your script and delete the
pawn Код:
#include <mapicon>
and the
pawn Код:
#include <morphinc>



Re: need help - Eazy1993 - 07.10.2009

it still gives the error. what had i did wrong ?
am i suposed to do the <mapicon> in the script, you know, when i'm opening the mapicon document?


Re: need help - sandisk125 - 07.10.2009

did you tried deleting
pawn Код:
#include <mapicon>
and
pawn Код:
#include <morphinc>
?


Re: need help - Eazy1993 - 07.10.2009

if i do that, he gives ANOTHER error :
C:\DOCUME~1\GEBRUI~1\MIJNDO~1\DYLAN'~1\SAMPSE~1\RP AS.pwn( 8 ) : fatal error 100: cannot read from file: "realsamp"

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


1 Error.


and if i delete <realsamp>, he is going to crash. and what now?


Re: need help - Correlli - 07.10.2009

Quote:
Originally Posted by sandisk125
did you tried deleting
pawn Код:
#include <mapicon>
and
pawn Код:
#include <morphinc>
?
Deleting includes won't solve the problems.

Make sure that you have those files in the compiler's include folder.

Or you could use this:
pawn Код:
#include "filename"
instead of this:
pawn Код:
#include <filename>
and copy the include files in the same directory as the script is.


Re: need help - Eazy1993 - 07.10.2009

i don't know what you mean, i understand you, but not what i am suposed to do
and if i download a new mapicon file, should it be fixed?