SA-MP Forums Archive
Pawn Errors - 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)
+--- Thread: Pawn Errors (/showthread.php?tid=424705)



Pawn Errors - Sweez - 23.03.2013

Hello, yesterday i had a little problem with pawn. When I try to complie any gm it gives me this errors:

Код:
C:\Users\User\Desktop\New folder\pawno\include\a_samp.inc(54) : error 021: symbol already defined: "print"
C:\Users\User\Desktop\New folder\pawno\include\a_samp.inc(55) : error 021: symbol already defined: "printf"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
I tried to re-download all includes, but it didn't work. I re-downloaded pawno, but i still get these errors. Can someone help me please ?


Re: Pawn Errors - Pillhead2007 - 23.03.2013

you already defined print and printf on preceding levels just remove it from a_SAMP.inc That's the Problem


Re: Pawn Errors - Avi Raj - 23.03.2013

try downloading a_samp.inc again


Re: Pawn Errors - Patrick - 23.03.2013

dont double post. you could just bump your old thread.

Try what people said
Quote:
Originally Posted by LarzI
Посмотреть сообщение
core and float are both included in the a_samp include, so no need to include them after.. Yet try redownloading like mastermax7777 said.
Quote:
Originally Posted by RealCop228
Посмотреть сообщение
Actually, comment out the core and float includes- that should fix your problem... as LarzI stated...



Re: Pawn Errors - Sweez - 23.03.2013

Quote:
Originally Posted by Pillhead2007
Посмотреть сообщение
you already defined print and printf on preceding levels just remove it from a_SAMP.inc That's the Problem
No i didn't.


Re: Pawn Errors - Sweez - 23.03.2013

Quote:
Originally Posted by pds2012
Посмотреть сообщение
dont double post. you could just bump your old thread.

Try what people said
I tried both of them and they still don't work ...


Re: Pawn Errors - Patrick - 23.03.2013

Mind showing us all of the include you are using?

OR

Mind showing us your script?


Re: Pawn Errors - FunnyBear - 23.03.2013

Maybe your using a version which does not include print or printf?


Respuesta: Pawn Errors - Parka - 23.03.2013

Example of Use:

pawn Код:
main()
{
    print("\n----------------------------------");
    print(" Blank Gamemode by your name here");
    print("----------------------------------\n");
}



Re: Respuesta: Pawn Errors - Sweez - 23.03.2013

Quote:
Originally Posted by cesar_******
Посмотреть сообщение
Example of Use:

pawn Код:
main()
{
    print("\n----------------------------------");
    print(" Blank Gamemode by your name here");
    print("----------------------------------\n");
}
Ughh ... I alredy have that ...