[AJUDA] Mais que urgente com dois erros.
#1

Bom galera tentei colocar o select city e os carros do GM grandlarc q vem com o samp 0.3a no meu GM mais deu 2 erros tentei migrar meu GM pro grandlarc e da os mesmos erros por causa do include common por favor me ajudem й urgentissimo.

Code:
../include/gl_common.inc(75) : error 021: symbol already defined: "strtok"
../include/gl_common.inc(134) : error 021: symbol already defined: "isNumeric"
C:\DOCUME~1\SEUNOM~1\Desktop\COLOCA~1\CMD03V~1.0\GAMEMO~1\GRANDL~1.PWN(206) : warning 201: redefinition of constant/macro (symbol "COLOR_WHITE")
C:\DOCUME~1\SEUNOM~1\Desktop\COLOCA~1\CMD03V~1.0\GAMEMO~1\GRANDL~1.PWN(734) : warning 204: symbol is assigned a value that is never used: "Score"
C:\DOCUME~1\SEUNOM~1\Desktop\COLOCA~1\CMD03V~1.0\GAMEMO~1\GRANDL~1.PWN(1204) : warning 209: function "OnPlayerKeyStateChange" should return a value
C:\DOCUME~1\SEUNOM~1\Desktop\COLOCA~1\CMD03V~1.0\GAMEMO~1\GRANDL~1.PWN(1465) : warning 203: symbol is never used: "IsInvalidSkin"
C:\DOCUME~1\SEUNOM~1\Desktop\COLOCA~1\CMD03V~1.0\GAMEMO~1\GRANDL~1.PWN(1465) : warning 203: symbol is never used: "PlayerVehI"
C:\DOCUME~1\SEUNOM~1\Desktop\COLOCA~1\CMD03V~1.0\GAMEMO~1\GRANDL~1.PWN(1465) : warning 203: symbol is never used: "SavePos"
C:\DOCUME~1\SEUNOM~1\Desktop\COLOCA~1\CMD03V~1.0\GAMEMO~1\GRANDL~1.PWN(1465) : warning 203: symbol is never used: "gArmySpawns"
C:\DOCUME~1\SEUNOM~1\Desktop\COLOCA~1\CMD03V~1.0\GAMEMO~1\GRANDL~1.PWN(1465) : warning 203: symbol is never used: "gMedicalSpawns"
C:\DOCUME~1\SEUNOM~1\Desktop\COLOCA~1\CMD03V~1.0\GAMEMO~1\GRANDL~1.PWN(1465) : warning 203: symbol is never used: "gPoliceSpawns"
C:\DOCUME~1\SEUNOM~1\Desktop\COLOCA~1\CMD03V~1.0\GAMEMO~1\GRANDL~1.PWN(1465) : warning 203: symbol is never used: "playerColors"
C:\DOCUME~1\SEUNOM~1\Desktop\COLOCA~1\CMD03V~1.0\GAMEMO~1\GRANDL~1.PWN(1465) : warning 203: symbol is never used: "pname"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
as linhas nao tem nada a ver com o codido de erro vejao.

Linha 75
pawn Code:
#define RC_CAM          594
Linha 134
pawn Code:
"Use /report para denunciar.",
Reply
#2

procure por

strtok

e apague

procure por

isNumeric

e apague :P facil
Reply
#3

"symbol is never used" quer dizer que os sнmbolos que estгo sendo citados nos erros nгo sгo usados, й sу apagar eles
Reply
#4

Quote:
Originally Posted by Comando_DS
Bom galera tentei colocar o select city e os carros do GM grandlarc q vem com o samp 0.3a no meu GM mais deu 2 erros tentei migrar meu GM pro grandlarc e da os mesmos erros por causa do include common por favor me ajudem й urgentissimo.

Code:
../include/gl_common.inc(75) : error 021: symbol already defined: "strtok"
../include/gl_common.inc(134) : error 021: symbol already defined: "isNumeric"
C:\DOCUME~1\SEUNOM~1\Desktop\COLOCA~1\CMD03V~1.0\GAMEMO~1\GRANDL~1.PWN(206) : warning 201: redefinition of constant/macro (symbol "COLOR_WHITE")
C:\DOCUME~1\SEUNOM~1\Desktop\COLOCA~1\CMD03V~1.0\GAMEMO~1\GRANDL~1.PWN(734) : warning 204: symbol is assigned a value that is never used: "Score"
C:\DOCUME~1\SEUNOM~1\Desktop\COLOCA~1\CMD03V~1.0\GAMEMO~1\GRANDL~1.PWN(1204) : warning 209: function "OnPlayerKeyStateChange" should return a value
C:\DOCUME~1\SEUNOM~1\Desktop\COLOCA~1\CMD03V~1.0\GAMEMO~1\GRANDL~1.PWN(1465) : warning 203: symbol is never used: "IsInvalidSkin"
C:\DOCUME~1\SEUNOM~1\Desktop\COLOCA~1\CMD03V~1.0\GAMEMO~1\GRANDL~1.PWN(1465) : warning 203: symbol is never used: "PlayerVehI"
C:\DOCUME~1\SEUNOM~1\Desktop\COLOCA~1\CMD03V~1.0\GAMEMO~1\GRANDL~1.PWN(1465) : warning 203: symbol is never used: "SavePos"
C:\DOCUME~1\SEUNOM~1\Desktop\COLOCA~1\CMD03V~1.0\GAMEMO~1\GRANDL~1.PWN(1465) : warning 203: symbol is never used: "gArmySpawns"
C:\DOCUME~1\SEUNOM~1\Desktop\COLOCA~1\CMD03V~1.0\GAMEMO~1\GRANDL~1.PWN(1465) : warning 203: symbol is never used: "gMedicalSpawns"
C:\DOCUME~1\SEUNOM~1\Desktop\COLOCA~1\CMD03V~1.0\GAMEMO~1\GRANDL~1.PWN(1465) : warning 203: symbol is never used: "gPoliceSpawns"
C:\DOCUME~1\SEUNOM~1\Desktop\COLOCA~1\CMD03V~1.0\GAMEMO~1\GRANDL~1.PWN(1465) : warning 203: symbol is never used: "playerColors"
C:\DOCUME~1\SEUNOM~1\Desktop\COLOCA~1\CMD03V~1.0\GAMEMO~1\GRANDL~1.PWN(1465) : warning 203: symbol is never used: "pname"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
as linhas nao tem nada a ver com o codido de erro vejao.

Linha 75
pawn Code:
#define RC_CAM          594
Linha 134
pawn Code:
"Use /report para denunciar.",
essas linhas que vc passou,Sгo do Include 'gl_common.inc'?
Reply
#5

Eu ja procurei as duas palavras q diz q ja estao sendo usadas mais nao tem no GM ja tinha pensado nisso antes mais dei ctrl + f e prorei nao acho nada e wafffllesss as linhas q postei do erro й no GM.
Reply
#6

Mais o erro acontece no include que eu te disse.:

pawn Code:
../include/gl_common.inc(75) <<< : error 021: symbol already defined: "strtok"
../include/gl_common.inc(134) <<< : error 021: symbol already defined: "isNumeric"
Reply
#7

e como eu faco pra consertar? se eu tiro o isNumeric ou o strtok do include quando compilo o pawno ele da erro no aplicativo.
Reply
#8

Vocк esta definindo esta funзгo novamente no seu GM?
Reply
#9

Quote:
Originally Posted by wafffllesss
Vocк esta definindo esta funзгo novamente no seu GM?
nao, virei meu GM d cabeca pra baixo e nao tem essa funcao.
Reply
#10

Seguinte.. entгo tem mais de um Include que possuem esta funзгo, pega esse ai poe como primeiro include ( depois do a_samp ) e deleta nos outros a funзAo
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)