Error in simple pawn code!? i dont understand - 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: Error in simple pawn code!? i dont understand (
/showthread.php?tid=195192)
Error in simple pawn code!? i dont understand -
universe - 01.12.2010
CODE:
main()
(
return MyFunction("What");
)
MyFunction(string[])
(
print(string);
return 1;
)
ERROR:
C:\Documents and Settings\Jordi\Escritorio\Untitled.pwn(13 -- 14) : fatal error 103: insufficient memory
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
im trying to learn pawn, from samp wiki, when i copy the code y didnt get any error but when i write the code manually i got error :S
Re: Error in simple pawn code!? i dont understand -
RyDeR` - 01.12.2010
Don't return in main().
Respuesta: Error in simple pawn code!? i dont understand -
universe - 01.12.2010
Thanks, dont laugh at me, i do know, its a stupid question.
Re: Respuesta: Error in simple pawn code!? i dont understand -
6d - 01.12.2010
Quote:
Originally Posted by universe
Thanks, dont laugh at me, i do know, its a stupid question. ![Cry](images/smilies/cry.gif)
|
It's not stupid, you are learning, we all learned.
I bet no one will be laughing at you, because atleast
you are trying to learn.
Keep trying and I hope you become a nice scripter.
Matthew "
6d" Larrabure
Respuesta: Error in simple pawn code!? i dont understand -
MrDeath537 - 01.12.2010
Quote:
Originally Posted by universe
Thanks, dont laugh at me, i do know, its a stupid question. ![Cry](images/smilies/cry.gif)
|
It's not, I'm not newbie using PAWN, but I didn't know about you can't return in main() !
Respuesta: Error in simple pawn code!? i dont understand -
universe - 01.12.2010
Thanks, nice comments.! i love you guys.