HELP plz
#1

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

Post your strtok line, 80.
Reply
#3

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

On the left hand side you can see the line numbers, scroll down to line 80 and post that line.
Reply
#5

it is the line under the green topic up there im looking on pawno now and thats what is says
Reply
#6

The error is not in your gamemode, it is detecting errors in your gl_common include file. Post the lines that are giving errors.
Reply
#7

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 :/
Reply
#8

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

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

pawn Код:
new DueloEnProgreso;
^LINE 95

pawn Код:
new TipoCarrera1;
^LINE 139
Reply
#10

In the include file -___________________-

Derp.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)