Compile error
#1

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.
Reply
#2

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.
Reply
#3

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

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];

Reply
#5

It's supposed to be in Script Discussion..
Reply
#6

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!!
Reply
#7

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...
Reply
#8

sorry, and thanks I fixed the issue it compiled.
Reply
#9

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):
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)