SA-MP Forums Archive
New bug in pawn - 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: New bug in pawn (/showthread.php?tid=420012)



New bug in pawn - Sweez - 03.03.2013

Hello, yesterday i posted a thread about that my .inc file is missing. Okay i fixed it, but i've got a new problem. Here it is:


Код:
 C:\Users\User\Desktop\Bulgarian Mafia Roleplay\pawno\include\a_samp.inc(54) : error 021: symbol already defined: "print"
C:\Users\User\Desktop\Bulgarian Mafia Roleplay\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 think that the error is coming from the 54 and 55 line. But on them its saying
Код:
 #define COLOR_WHITE 0xFFFFFFFF
#define COLOR_FADE1 0xE6E6E6E6
#define COLOR_PM1 0xA65FC7FF
#define COLOR_PM2 0xD35FC7FF
#define COLOR_FADE2 0xC8C8C8C8
#define COLOR_FADE3 0xAAAAAAAA
#define COLOR_FADE4 0x8C8C8C8C
#define COLOR_FADE5 0x6E6E6E6E
#define COLOR_OOC 0xE0FFFFFF
#define COLOR_GREY 0xAFAFAFFF
#define COLOR_LIGHTGREEN 0xADFF2FFF
#define COLOR_LIGHTRED 0xFF6347FF
#define COLOR_DARKRED 0xAA3333FF
#define COLOR_RED 0xFF0606FF
#define COLOR_LIGHTBLUE 0x33CCFFFF
#define COLOR_GREEN 0x33AA33FF
#define COLOR_YELLOW 0xFFFF00FF
#define COLOR_PURPLE 0xC2A2DAFF
#define COLOR_ORANGE 0xFF9900FF
#define COLOR_REPORT 0xFFFF91FF
#define COLOR_RADIO 0x8D8DFFFF
#define COLOR_DEPTRADIO 0xFFD700FF
#define COLOR_BLUE 0x2641FEFF
#define COLOR_MEDIC 0xFF8282FF
#define COLOR_NEWBIE 0x7DAEFFFF
#define COLOR_LIME 0x00FF00FF
#define COLOR_NEWS 0x049C7100
#define COLOR_CYAN 0x01FCFFFF
#define COLOR_VIP 0xC93CCEFF
Can someone please help me? I'm using the zGaming script.


Re: New bug in pawn - RajatPawar - 03.03.2013

Can you highlight the lines? Can you use Ctrl + F to find "printf" in your script, and post those lines here?


Re: New bug in pawn - JaKe Elite - 03.03.2013

actually who will really believes you in the title "New Bug in Pawn"

It is commonly error. Not a bug.
I believe that, You've edited a_samp. And make the function print and printf double that's why.


Re: New bug in pawn - Sweez - 03.03.2013

I fixed it


Re: New bug in pawn - Sweez - 03.03.2013

Now i have another problem. I gave the script to my friend to try it, he is not on router, but when i try to log in the server, it says that the server isn't online. Can someone help me the lanmode is to 0 the server port is 7777.


Re: New bug in pawn - RajatPawar - 03.03.2013

So, how about you ****** 'port forwarding samp' and look throughout the thousands of tutorials and verify if you have followed the steps?


Re: New bug in pawn - Sweez - 03.03.2013

I just said that my friend is not on router ... He doesn't need portforwarding