[Pomoc] Compile


Započeo Faxton, Novembar 26, 2011, 20:15:08 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim: /
Detaljan opis problema: Znaci koji god mod malo veci kad ocu Compile izbaci mi vako isto.Znaci svaki veci mod kad Compile izbaci mi 26 Errora :S . Nije mi jasno sta je u pitanju pa ako neko zna neko rijesenje bio bi mu zahvalan ;)
Dio skripte:
CitatC:\Users\Ja\Desktop\Premium Gaming\pawno\include\sscanf2.inc(27) : error 025: function heading differs from prototype
C:\Users\Ja\Desktop\Premium Gaming\pawno\include\sscanf2.inc(27) : error 025: function heading differs from prototype
C:\Users\Ja\Desktop\Premium Gaming\gamemodes\PG.pwn(1956) : error 021: symbol already defined: "strtok"
C:\Users\Ja\Desktop\Premium Gaming\gamemodes\PG.pwn(1971) : error 047: array sizes do not match, or destination array is too small
C:\Users\Ja\Desktop\Premium Gaming\gamemodes\PG.pwn(5845) : warning 202: number of arguments does not match definition
C:\Users\Ja\Desktop\Premium Gaming\gamemodes\PG.pwn(5846) : warning 202: number of arguments does not match definition
C:\Users\Ja\Desktop\Premium Gaming\gamemodes\PG.pwn(5846) : warning 202: number of arguments does not match definition
C:\Users\Ja\Desktop\Premium Gaming\gamemodes\PG.pwn(5859) : warning 202: number of arguments does not match definition
C:\Users\Ja\Desktop\Premium Gaming\gamemodes\PG.pwn(19362) : error 047: array sizes do not match, or destination array is too small
C:\Users\Ja\Desktop\Premium Gaming\gamemodes\PG.pwn(19370) : error 047: array sizes do not match, or destination array is too small
C:\Users\Ja\Desktop\Premium Gaming\gamemodes\PG.pwn(19685) : error 047: array sizes do not match, or destination array is too small
C:\Users\Ja\Desktop\Premium Gaming\gamemodes\PG.pwn(20316) : error 047: array sizes do not match, or destination array is too small
C:\Users\Ja\Desktop\Premium Gaming\gamemodes\PG.pwn(20323) : error 047: array sizes do not match, or destination array is too small
C:\Users\Ja\Desktop\Premium Gaming\gamemodes\PG.pwn(20749) : error 047: array sizes do not match, or destination array is too small
C:\Users\Ja\Desktop\Premium Gaming\gamemodes\PG.pwn(20960) : error 047: array sizes do not match, or destination array is too small
C:\Users\Ja\Desktop\Premium Gaming\gamemodes\PG.pwn(20994) : error 047: array sizes do not match, or destination array is too small
C:\Users\Ja\Desktop\Premium Gaming\gamemodes\PG.pwn(21032) : error 047: array sizes do not match, or destination array is too small
C:\Users\Ja\Desktop\Premium Gaming\gamemodes\PG.pwn(21047) : error 047: array sizes do not match, or destination array is too small
C:\Users\Ja\Desktop\Premium Gaming\gamemodes\PG.pwn(21109) : error 047: array sizes do not match, or destination array is too small
C:\Users\Ja\Desktop\Premium Gaming\gamemodes\PG.pwn(21169) : error 047: array sizes do not match, or destination array is too small
C:\Users\Ja\Desktop\Premium Gaming\gamemodes\PG.pwn(21223) : error 047: array sizes do not match, or destination array is too small
C:\Users\Ja\Desktop\Premium Gaming\gamemodes\PG.pwn(21238) : error 047: array sizes do not match, or destination array is too small
C:\Users\Ja\Desktop\Premium Gaming\gamemodes\PG.pwn(21290) : error 047: array sizes do not match, or destination array is too small
C:\Users\Ja\Desktop\Premium Gaming\gamemodes\PG.pwn(21340) : error 047: array sizes do not match, or destination array is too small
C:\Users\Ja\Desktop\Premium Gaming\gamemodes\PG.pwn(23187) : error 047: array sizes do not match, or destination array is too small
C:\Users\Ja\Desktop\Premium Gaming\gamemodes\PG.pwn(23687) : error 047: array sizes do not match, or destination array is too small
C:\Users\Ja\Desktop\Premium Gaming\gamemodes\PG.pwn(23814) : error 047: array sizes do not match, or destination array is too small
C:\Users\Ja\Desktop\Premium Gaming\gamemodes\PG.pwn(23863) : error 047: array sizes do not match, or destination array is too small
C:\Users\Ja\Desktop\Premium Gaming\gamemodes\PG.pwn(24255) : error 047: array sizes do not match, or destination array is too small
C:\Users\Ja\Desktop\Premium Gaming\gamemodes\PG.pwn(24264) : error 047: array sizes do not match, or destination array is too small

Compilation aborted.Pawn compiler 3.2.3664           Copyright (c) 1997-2006, ITB CompuPhase


26 Errors.

Neke slike/video za lakse dobivanje pomoci(neobavezno): /
Poslednja Izmena: Novembar 26, 2011, 20:15:40 POSLE PODNE od Faxton

Zlatan_Ibrahimovic

kao sto vecina kazu negdje ti fali } ili {

Nevjerujem jer prekjucer sam compile i imo samo dva waringa a danas dva ti moda sam pokuso compile i errori na svakom stvarno mi nije jasno :S

Zlatan_Ibrahimovic

sta si zadnje dodao kad ti se to pojavilo?

Probaj otvoriti pawno pa open svoj gm pa F5 to se i meni desavalo i svaki put sam to sredio stime Znaci Pawno=>Open=>SvojGM=>F5 i mora biti dobro
<a href="http://tinypic.com?ref=5l2yrb" target="_blank"><img src="http://i47.tinypic.com/5l2yrb.png" border="0" alt="Image and video hosting by TinyPic"></a>

zadnju put sta sam radio...stavio textdrav....al probo sam ja to i izbrisat i oped isto znaci bez obzira sto sam to stavljo....
Sljedio sam sve korake pawno-open-F5 i jbg oped isto 26 errora

dragan12

Onda si pojebao to sto si radio :D
5845
5846 daj linije, a mozes mi dati i sve linije odjednom pa da vidim :)

Citat27 - static gTeam[MAX_PLAYERS];
1956 {
1971 return result;
5845 SetPlayerCameraPos(playerid, 2036.5170,1541.5032,10.8203,89.7864); SetPlayerCameraLookAt(playerid, 2036.5170,1541.5032,10.8203,89.7864);
5846 SetPlayerWeather(playerid, 1);
Eto to su neki primjeri linija i sta se u njima nalazi al nemoze mi bit jasno to sto sam prrekucer compile i sve ok bilo a jucer compile i svaki put error pa mi niakko nemoze uc u glavu.

Citat: Faxton poslato Novembar 26, 2011, 23:38:21 POSLE PODNE
Citat27 - static gTeam[MAX_PLAYERS];
1956 {
1971 return result;
5845 SetPlayerCameraPos(playerid, 2036.5170,1541.5032,10.8203,89.7864); SetPlayerCameraLookAt(playerid, 2036.5170,1541.5032,10.8203,89.7864);
5846 SetPlayerWeather(playerid, 1);
Eto to su neki primjeri linija i sta se u njima nalazi al nemoze mi bit jasno to sto sam prrekucer compile i sve ok bilo a jucer compile i svaki put error pa mi niakko nemoze uc u glavu.

a nemozemo tako vidjeti negdje imas viska ili manjka {}..
Pogledaj kod onog zadnjeg sta si radio prebroj pa vidi mora biti jednak broj {}

dragan12

Vidi sada ovo SetPlayerCameraPos(playerid, 2036.5170,1541.5032,10.8203,89.7864); SetPlayerCameraLookAt(playerid, 2036.5170,1541.5032,10.8203,89.7864);
To treba da bude ovako:
SetPlayerCameraPos(playerid, 2036.5170,1541.5032,10.8203); 
SetPlayerCameraLookAt(playerid, 2036.5170,1541.5032,10.8203);

Znaci samo x,y,z kordinate,a ne x,y,z,a
Ali aj proveri i zagrade

CitatC:\Users\Mate\Desktop\Premium Gaming\pawno\include\sscanf2.inc(27) : error 025: function heading differs from prototype
C:\Users\Mate\Desktop\Premium Gaming\pawno\include\sscanf2.inc(27) : error 025: function heading differs from prototype
C:\Users\Mate\Desktop\Premium Gaming\gamemodes\PG.pwn(1956) : error 021: symbol already defined: "strtok"
C:\Users\Mate\Desktop\Premium Gaming\gamemodes\PG.pwn(1971) : error 047: array sizes do not match, or destination array is too small
C:\Users\Mate\Desktop\Premium Gaming\gamemodes\PG.pwn(5847) : warning 202: number of arguments does not match definition
C:\Users\Mate\Desktop\Premium Gaming\gamemodes\PG.pwn(5847) : warning 202: number of arguments does not match definition
C:\Users\Mate\Desktop\Premium Gaming\gamemodes\PG.pwn(5860) : warning 202: number of arguments does not match definition
C:\Users\Mate\Desktop\Premium Gaming\gamemodes\PG.pwn(19363) : error 047: array sizes do not match, or destination array is too small
C:\Users\Mate\Desktop\Premium Gaming\gamemodes\PG.pwn(19371) : error 047: array sizes do not match, or destination array is too small
C:\Users\Mate\Desktop\Premium Gaming\gamemodes\PG.pwn(19686) : error 047: array sizes do not match, or destination array is too small
C:\Users\Mate\Desktop\Premium Gaming\gamemodes\PG.pwn(20317) : error 047: array sizes do not match, or destination array is too small
C:\Users\Mate\Desktop\Premium Gaming\gamemodes\PG.pwn(20324) : error 047: array sizes do not match, or destination array is too small
C:\Users\Mate\Desktop\Premium Gaming\gamemodes\PG.pwn(20750) : error 047: array sizes do not match, or destination array is too small
C:\Users\Mate\Desktop\Premium Gaming\gamemodes\PG.pwn(20961) : error 047: array sizes do not match, or destination array is too small
C:\Users\Mate\Desktop\Premium Gaming\gamemodes\PG.pwn(20995) : error 047: array sizes do not match, or destination array is too small
C:\Users\Mate\Desktop\Premium Gaming\gamemodes\PG.pwn(21033) : error 047: array sizes do not match, or destination array is too small
C:\Users\Mate\Desktop\Premium Gaming\gamemodes\PG.pwn(21048) : error 047: array sizes do not match, or destination array is too small
C:\Users\Mate\Desktop\Premium Gaming\gamemodes\PG.pwn(21110) : error 047: array sizes do not match, or destination array is too small
C:\Users\Mate\Desktop\Premium Gaming\gamemodes\PG.pwn(21170) : error 047: array sizes do not match, or destination array is too small
C:\Users\Mate\Desktop\Premium Gaming\gamemodes\PG.pwn(21224) : error 047: array sizes do not match, or destination array is too small
C:\Users\Mate\Desktop\Premium Gaming\gamemodes\PG.pwn(21239) : error 047: array sizes do not match, or destination array is too small
C:\Users\Mate\Desktop\Premium Gaming\gamemodes\PG.pwn(21291) : error 047: array sizes do not match, or destination array is too small
C:\Users\Mate\Desktop\Premium Gaming\gamemodes\PG.pwn(21341) : error 047: array sizes do not match, or destination array is too small
C:\Users\Mate\Desktop\Premium Gaming\gamemodes\PG.pwn(23188) : error 047: array sizes do not match, or destination array is too small
C:\Users\Mate\Desktop\Premium Gaming\gamemodes\PG.pwn(23688) : error 047: array sizes do not match, or destination array is too small
C:\Users\Mate\Desktop\Premium Gaming\gamemodes\PG.pwn(23815) : error 047: array sizes do not match, or destination array is too small
C:\Users\Mate\Desktop\Premium Gaming\gamemodes\PG.pwn(23864) : error 047: array sizes do not match, or destination array is too small
C:\Users\Mate\Desktop\Premium Gaming\gamemodes\PG.pwn(24256) : error 047: array sizes do not match, or destination array is too small
C:\Users\Mate\Desktop\Premium Gaming\gamemodes\PG.pwn(24265) : error 047: array sizes do not match, or destination array is too small

Compilation aborted.Pawn compiler 3.2.3664           Copyright (c) 1997-2006, ITB CompuPhase


26 Errors.


Ev gagi uradio sam sto si reko i vidi sta je sad u pitanju.......

EDIT: Ev danas sam preko USB u frenda compile mod i nijednog errora dodjem kuci i compile ga i 26 errora :S
Poslednja Izmena: Novembar 28, 2011, 20:01:34 POSLE PODNE od Faxton

Vjerojatno imas vise Pawn programa moras otvoriti sa onim iz mape od servera....

Izbriso sam sve moguce GM-ove sa kompa i Compile i Errora nemam ....Momci fala vam..
Moze lock :D