HELP plz - 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: HELP plz (
/showthread.php?tid=357978)
HELP plz -
Zach7 - 09.07.2012
pawn Код:
../include/gl_common.inc(80) : error 021: symbol already defined: "strtok"
../include/gl_common.inc(95) : error 047: array sizes do not match, or destination array is too small
../include/gl_common.inc(139) : error 021: symbol already defined: "isNumeric"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
3 Errors.
Plz help
Re: HELP plz -
WinterAce - 09.07.2012
Post your strtok line, 80.
Re: HELP plz -
Zach7 - 09.07.2012
pawn Код:
//Duelo
#define dcmd(%1,%2,%3) if (!strcmp((%3)[1], #%1, true, (%2)) && ((((%3)[(%2) + 1] == '\0') && (dcmd_%1(playerid, ""))) || (((%3)[(%2) + 1] == ' ') && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1
#define COLOR_AMARILLO 0xffe400ff
enum STATS
somewhere in here this is a gamemode i downloaded
Re: HELP plz -
WinterAce - 09.07.2012
On the left hand side you can see the line numbers, scroll down to line 80 and post that line.
Re: HELP plz -
Zach7 - 09.07.2012
it is the line under the green topic up there im looking on pawno now and thats what is says
Re: HELP plz -
clarencecuzz - 09.07.2012
The error is not in your gamemode, it is detecting errors in your gl_common include file. Post the lines that are giving errors.
Re: HELP plz -
WinterAce - 09.07.2012
Quote:
Originally Posted by clarencecuzz
The error is not in your gamemode, it is detecting errors in your gl_common include file. Post the lines that are giving errors.
|
Oh yes, I didn't see that. Lack of sleep :/
Re: HELP plz -
clarencecuzz - 09.07.2012
Are you using multiple includes? Somehow I think that one of the includes in your script might be clashing with another, therefore giving you these errors.
@WinterAce - Happens to me too, don't worry about it xD
Re: HELP plz -
Zach7 - 09.07.2012
Quote:
Originally Posted by clarencecuzz
The error is not in your gamemode, it is detecting errors in your gl_common include file. Post the lines that are giving errors.
|
post lines error lines in GM file? ok
pawn Код:
#define dcmd(%1,%2,%3) if (!strcmp((%3)[1], #%1, true, (%2)) && ((((%3)[(%2) + 1] == '\0') && (dcmd_%1(playerid, ""))) || (((%3)[(%2) + 1] == ' ') && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1
^LINE 80
^LINE 95
^LINE 139
Re: HELP plz -
clarencecuzz - 09.07.2012
In the include file -___________________-
Derp.