SA-MP Forums Archive
Compile error - 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: Compile error (/showthread.php?tid=92602)



Compile error - mars550 - 21.08.2009

pawno\include\a_samp.inc(33) : error 021: symbol already defined: "print"

pawno\include\a_samp.inc(34) : error 021: symbol already defined: "printf"



Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Errors.



Re: Compile error - Joe Staff - 21.08.2009

Show us where you've placed your #include <a_samp> in the script you're compiling there.

Also, wrong section. Moderator move this to Scripting Discussions.


Re: Compile error - mars550 - 21.08.2009

I think I need a new a_samp.inc file if you can upload that I will see if it fixes it.


Re: Compile error - mars550 - 21.08.2009

C:\Documents and Settings\Ant\Desktop\s\pawno\include\a_samp.inc(33 ) : error 021: symbol already defined: "print"
C:\Documents and Settings\Ant\Desktop\s\pawno\include\a_samp.inc(34 ) : error 021: symbol already defined: "printf"
C:\Documents and Settings\Ant\Desktop\coding\rp\CW-RP.pwn(658 : warning 217: loose indentation
C:\Documents and Settings\Ant\Desktop\coding\rp\CW-RP.pwn(6589) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Errors.


For some reason I now have another 2 errors, let me post them.

line 6588: printf("Total %d = GetPlayerPCash(playerid) %d - oldcash %d",Total,GetPlayerPCash(i),oldcash);

line 6589: new name[MAX_PLAYER_NAME];




Re: Compile error - MenaceX^ - 21.08.2009

It's supposed to be in Script Discussion..


Re: Compile error - mars550 - 21.08.2009

Okay I fixed it now my only error is

C:\Documents and Settings\Ant\Desktop\s\pawno\include\a_samp.inc(33 ) : error 021: symbol already defined: "print"
C:\Documents and Settings\Ant\Desktop\s\pawno\include\a_samp.inc(34 ) : error 021: symbol already defined: "printf"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Errors.



please help me fix this!!


Re: Compile error - Danx - 21.08.2009

Its easy error...
symbol already defined: "print" in 33 row.
symbol already defined: "printf" in 34 row.

You defined this 2x

OFF: Warning: Bad topic...


Re: Compile error - mars550 - 21.08.2009

sorry, and thanks I fixed the issue it compiled.


Re: Compile error - mars550 - 21.08.2009

New Error.

SA:MP Dedicated Server
----------------------
v0.2X, ©2005-2008 SA:MP Team

[12:21:12]
[12:21:12] Server Plugins
[12:21:12] --------------
[12:21:12] Loaded 0 plugins.

[12:21:12]
[12:21:12] Filter Scripts
[12:21:12] ---------------
[12:21:12] Loading filter script 'adminspec.amx'...
[12:21:12] Loading filter script 'vactions.amx'...
[12:21:12] Loaded 2 filter scripts.

[12:21:12] Pickups Max = 100, Current Pickups = 81
[12:21:12] SCRIPT: Bad parameter count (Count is 4, Should be 1):
[12:21:12] SCRIPT: Bad parameter count (Count is 4, Should be 1):
[12:21:12] SCRIPT: Bad parameter count (Count is 4, Should be 1):
[12:21:12] SCRIPT: Bad parameter count (Count is 4, Should be 1):
[12:21:12] SCRIPT: Bad parameter count (Count is 4, Should be 1):
[12:21:12] SCRIPT: Bad parameter count (Count is 4, Should be 1):
[12:21:24] Pickups Max = 100, Current Pickups = 81
[12:21:24] SCRIPT: Bad parameter count (Count is 4, Should be 1):
[12:21:24] SCRIPT: Bad parameter count (Count is 4, Should be 1):
[12:21:24] SCRIPT: Bad parameter count (Count is 4, Should be 1):
[12:21:24] SCRIPT: Bad parameter count (Count is 4, Should be 1):
[12:21:24] SCRIPT: Bad parameter count (Count is 4, Should be 1):
[12:21:24] SCRIPT: Bad parameter count (Count is 4, Should be 1):
[12:21:36] Pickups Max = 100, Current Pickups = 81
[12:21:36] SCRIPT: Bad parameter count (Count is 4, Should be 1):
[12:21:36] SCRIPT: Bad parameter count (Count is 4, Should be 1):
[12:21:36] SCRIPT: Bad parameter count (Count is 4, Should be 1):
[12:21:36] SCRIPT: Bad parameter count (Count is 4, Should be 1):
[12:21:36] SCRIPT: Bad parameter count (Count is 4, Should be 1):
[12:21:36] SCRIPT: Bad parameter count (Count is 4, Should be 1):
[12:21:48] Pickups Max = 100, Current Pickups = 81
[12:21:48] SCRIPT: Bad parameter count (Count is 4, Should be 1):
[12:21:48] SCRIPT: Bad parameter count (Count is 4, Should be 1):
[12:21:48] SCRIPT: Bad parameter count (Count is 4, Should be 1):
[12:21:48] SCRIPT: Bad parameter count (Count is 4, Should be 1):
[12:21:48] SCRIPT: Bad parameter count (Count is 4, Should be 1):
[12:21:48] SCRIPT: Bad parameter count (Count is 4, Should be 1):