Jump to content
  • 0

Eroare compile


CiuChy

Question

Explicatie : Am bagat cateva FS`uri , am vrut in Gamemod niste comenzi si cand dau COMPILE imi da eroriile astea

Salut , am si eu niste probleme daca ma puteti ajuta va rog frumos.

C:\Documents and Settings\Administrator\Desktop\zonekd\Zonek\gamemodes\eRP.pwn(11631) : error 021: symbol already defined: "strtok"

C:\Documents and Settings\Administrator\Desktop\zonekd\Zonek\gamemodes\eRP.pwn(11646) : error 047: array sizes do not match, or destination array is too small

C:\Documents and Settings\Administrator\Desktop\zonekd\Zonek\gamemodes\eRP.pwn(14015) : warning 219: local variable "mod" shadows a variable at a preceding level

C:\Documents and Settings\Administrator\Desktop\zonekd\Zonek\gamemodes\eRP.pwn(40067) : error 021: symbol already defined: "sscanf"

Pawn compiler 3.2.3664          Copyright © 1997-2006, ITB CompuPhase

3 Errors.

Linie 11631- este asta {

Linia 11646 - este asta    return result;

Linia 14015 - este asta    new mod = 100;

Linia 40067- este asta {

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

C:\Documents and Settings\Administrator\Desktop\zonekd\Zonek\gamemodes\eRP.pwn(11631) : error 021: symbol already defined: "strtok"

Vezi ca mai ai inca odata definit strtok. Sterge unu din ele.

C:\Documents and Settings\Administrator\Desktop\zonekd\Zonek\gamemodes\eRP.pwn(11646) : error 047: array sizes do not match, or destination array is too small

Zi-ne ce ai pus inainte si dupa linia 11646.

C:\Documents and Settings\Administrator\Desktop\zonekd\Zonek\gamemodes\eRP.pwn(14015) : warning 219: local variable "mod" shadows a variable at a preceding level

Aici n-am idee. Am cautat in alte moduri linia, am gasito la fel, dar nu-mi da warningul asta.

C:\Documents and Settings\Administrator\Desktop\zonekd\Zonek\gamemodes\eRP.pwn(40067) : error 021: symbol already defined: "sscanf"

Vezi ca mai ai odata definit simbolul sscanf. Sterge unu din ele.

logo.png

ATENTIE!!! Nu imi trimiteti mesaje private care au legatura cu scriptingul. NU mai scriptez.

Link to comment
Share on other sites

C:\Documents and Settings\Administrator\Desktop\zonekd\Zonek\gamemodes\eRP.pwn(13997) : warning 219: local variable "mod" shadows a variable at a preceding level

C:\Documents and Settings\Administrator\Desktop\zonekd\Zonek\gamemodes\eRP.pwn(40656) : warning 203: symbol is never used: "strtok1"

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

Header size:          11232 bytes

Code size:          1864692 bytes

Data size:          5498320 bytes

Stack/heap size:      16384 bytes; estimated max. usage=4685 cells (18740 bytes)

Total requirements: 7390628 bytes

2 Warnings.

Am mai modificat... am mai rezolvat si acuma imi da cele 2 Warninguri... daca le`as putea rezolva ar fi super bine

Linia 40656 - Este ultima linie din MOD !

Link to comment
Share on other sites

Da , mersi mult !

#pragma unused strtok1 am bagat si a mers... dar mai imi da eroarea asta :

C:\Documents and Settings\Administrator\Desktop\zonekd\Zonek\gamemodes\eRP.pwn(13998) : warning 219: local variable "mod" shadows a variable at a preceding level

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

Header size:          11232 bytes

Code size:          1865356 bytes

Data size:          5498320 bytes

Stack/heap size:      16384 bytes; estimated max. usage=4685 cells (18740 bytes)

Total requirements: 7391292 bytes

1 Warnings.

Rog pe cineva care stie sa ma ajute. Multumesc mult ! Tin sa precizez ca am bagat niste FS`uri si cand sa modific in gamemod mi`a aparut eroarea asta

Link to comment
Share on other sites

Da , mersi mult !

#pragma unused strtok1 am bagat si a mers... dar mai imi da eroarea asta :

C:\Documents and Settings\Administrator\Desktop\zonekd\Zonek\gamemodes\eRP.pwn(13998) : warning 219: local variable "mod" shadows a variable at a preceding level

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

Header size:          11232 bytes

Code size:          1865356 bytes

Data size:          5498320 bytes

Stack/heap size:      16384 bytes; estimated max. usage=4685 cells (18740 bytes)

Total requirements: 7391292 bytes

1 Warnings.

Rog pe cineva care stie sa ma ajute. Multumesc mult ! Tin sa precizez ca am bagat niste FS`uri si cand sa modific in gamemod mi`a aparut eroarea asta

Posteaza liniile 13998 pana la 14005.
Link to comment
Share on other sites

{

    SendClientMessage(playerid, COLOR_GRAD1, "  You are not a Cop !");

}

}

return 1;

}

//----------------------------------[departments]-----------------------------------------------

if(strcmp(cmd, "/departments", true) == 0 || strcmp(cmd, "/d", true) == 0)

Astea sunt liniile !

Link to comment
Share on other sites

{

    SendClientMessage(playerid, COLOR_GRAD1, "  You are not a Cop !");

}

}

return 1;

}

//----------------------------------[departments]-----------------------------------------------

if(strcmp(cmd, "/departments", true) == 0 || strcmp(cmd, "/d", true) == 0)

Astea sunt liniile !

Ma, ce zic eu ce faci tu, la tine in eroare e linia 13998 si tu dai alte linii, compileaza iar si da liniile linia_eroare-5 pana la linia_eroare+10.
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.