(POMOC)ERRORI

Započeo GameSager, Januar 15, 2012, 21:24:22 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 4 gostiju pregledaju ovu temu.

Skripta koju koristim: CL
Detaljan opis problema: ERRORI
Dio skripte:neznam koji dio treba recite koji mozda ovo disconnect i to sam naso u scripti (pocetnik skriptera sam)
Neke slike/video za lakse dobivanje pomoci(neobavezno):
C:\Users\User\Desktop\Balkan-Life RPG\Balkan-Life RPG\gamemodes\BLRP.pwn(5886) : warning 209: function "Itter_OnPlayerDisconnect" should return a value
C:\Users\User\Desktop\Balkan-Life RPG\Balkan-Life RPG\gamemodes\BLRP.pwn(10110) : error 021: symbol already defined: "PlayerName"
C:\Users\User\Desktop\Balkan-Life RPG\Balkan-Life RPG\gamemodes\BLRP.pwn(52944) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\Balkan-Life RPG\Balkan-Life RPG\gamemodes\BLRP.pwn(52944) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\Balkan-Life RPG\Balkan-Life RPG\gamemodes\BLRP.pwn(52944) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\Balkan-Life RPG\Balkan-Life RPG\gamemodes\BLRP.pwn(72954) : error 021: symbol already defined: "Itter_OnPlayerConnect"
C:\Users\User\Desktop\Balkan-Life RPG\Balkan-Life RPG\gamemodes\BLRP.pwn(72962) : error 021: symbol already defined: "Itter_OnPlayerDisconnect"
C:\Users\User\Desktop\Balkan-Life RPG\Balkan-Life RPG\gamemodes\BLRP.pwn(72969) : error 021: symbol already defined: "OnPlayerUpdate"
Pocetni Skripter Balkan Life RolePlay Owner

Daj redove koje se nalaze u zagradama.
Koja carina!
Citat: Fâ,¬nsQ poslato Jun 06, 2012, 15:27:14 POSLE PODNE
mozemi netko reci kada se sper.a dobiva imam 13 i pol godine, a nisam je dobio, moji drugari su to vec dobili, moze pomoc
nov sam pa neznam gdje trebam pitati

Mr.Gagi

warning 209: function "Itter_OnPlayerDisconnect" should return a value -  fali ti return 1; na kraju
error 021: symbol already defined: "PlayerName" - ne treba dvaput definisati obrisi jedno, a i to znaci i za ostale kojima pise already...
warning 202: number of arguments does not match definition - parametre si pogresio daj liniju mozda

evo nest sam uspio makno sam to to je bio afk sistem stavio sam ga posebno i na njemu imma erora ali moze li prvo ovo eto ovo mi mod CL imam ove errore kad sam maknuo ovo C:\Users\User\Desktop\Balkan-Life RPG\Balkan-Life RPG\gamemodes\BLRP.pwn(10109) : error 021: symbol already defined: "PlayerName"
C:\Users\User\Desktop\Balkan-Life RPG\Balkan-Life RPG\gamemodes\BLRP.pwn(52943) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\Balkan-Life RPG\Balkan-Life RPG\gamemodes\BLRP.pwn(52943) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\Balkan-Life RPG\Balkan-Life RPG\gamemodes\BLRP.pwn(52943) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\Balkan-Life RPG\Balkan-Life RPG\gamemodes\BLRP.pwn(72935) : warning 203: symbol is never used: "Pos"
Pawn compiler 3.2.3664           Copyright (c) 1997-2006, ITB CompuPhase


1 Error.


Kako da to sredim??
Pocetni Skripter Balkan Life RolePlay Owner

C:\Users\User\Desktop\Balkan-Life RPG\Balkan-Life RPG\gamemodes\BLRP.pwn(72935) : warning 203: symbol is never used: "Pos"
To ti nije nikada koristeno. Daj taj red (72935)
Koja carina!
Citat: Fâ,¬nsQ poslato Jun 06, 2012, 15:27:14 POSLE PODNE
mozemi netko reci kada se sper.a dobiva imam 13 i pol godine, a nisam je dobio, moji drugari su to vec dobili, moze pomoc
nov sam pa neznam gdje trebam pitati

nemam taj red :S
Pocetni Skripter Balkan Life RolePlay Owner

Mr.Gagi

Citat: GameSager poslato Januar 16, 2012, 17:40:26 POSLE PODNE
nemam taj red :S
Nadji ga na CTRL + F new Float:Pos je verovatno posto su neke kordinate
symbol already defined: "PlayerName" - Obrises new PlayerName...
number of arguments does not match definition - pogresio si neke parametre daj liniju

redak 52942 SetPlayerPos(playerid, 1139.4000244141, -2673.8000488281, 5, 0, 0, 180);
C:\Users\User\Desktop\Balkan-Life RPG\Balkan-Life RPG\gamemodes\BLRP.pwn(52942) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\Balkan-Life RPG\Balkan-Life RPG\gamemodes\BLRP.pwn(52942) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\Balkan-Life RPG\Balkan-Life RPG\gamemodes\BLRP.pwn(52942) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\Balkan-Life RPG\Balkan-Life RPG\gamemodes\BLRP.pwn(72933) : warning 203: symbol is never used: "Pos"
Pocetni Skripter Balkan Life RolePlay Owner

Mr.Gagi

Ide samo x,y,z nista vise
umesto: SetPlayerPos(playerid, 1139.4000244141, -2673.8000488281, 5, 0, 0, 180);
stavis:
SetPlayerPos(playerid, 1139.4000244141, -2673.8000488281, 5);//Znaci idu kordinate x,y,z

e super samo neznam sta cu s ovim :S C:\Users\User\Desktop\Balkan-Life RPG\Balkan-Life RPG\gamemodes\BLRP.pwn(72932) : warning 203: symbol is never used: "Pos"
Pawn compiler 3.2.3664           Copyright (c) 1997-2006, ITB CompuPhase

Header size:          15020 bytes
Code size:          4286704 bytes
Data size:          3140484 bytes
Stack/heap size:      16384 bytes; estimated max. usage=4487 cells (17948 bytes)
Total requirements: 7458592 bytes

1 Warning.

eto vam moj kraj skripte
else if(vehmd == 491 || vehmd == 517)
{string = "Spoiler\nVents\nSideskirt\n{FF0000}Back";}
else if(vehmd == 418 || vehmd == 527 || vehmd == 580)
{string = "Spoiler\nRoof\nSideskirt\n{FF0000}Back";}
else if(vehmd == 420 || vehmd == 587)
{string = "Spoiler\nHood\n{FF0000}Back";}
else if(vehmd == 547)
{string = "Spoiler\nVents\n{FF0000}Back";}
else if(vehmd == 415)
{string = "Spoiler\nSideskirt\n{FF0000}Back";}
    ShowPlayerDialog(playerid,1004,DIALOG_STYLE_LIST,"Choose one",string,"Select","Cancel");
    return 1;
}

// ================================================================================================================================
// ----------------------------------------------------- Kraj SKripte ------------------------------------------------
// ================================================================================================================================

i zadnji red mi je 72931
Pocetni Skripter Balkan Life RolePlay Owner

Mr.Gagi

Nadji ga na CTRL + F new Float:Pos je verovatno posto su neke kordinate(nadam se) ili trazi new Pos.

nekutim :S stisnem ctrl+f i sta trazim ima new floata brdo i pos ... :S
Pocetni Skripter Balkan Life RolePlay Owner

Mr.Gagi

Citat: GameSager poslato Januar 16, 2012, 18:10:48 POSLE PODNE
nekutim :S stisnem ctrl+f i sta trazim ima new floata brdo i pos ... :S
A moras naci to sto ne treba ako nece po linij tako mozes jedino.
A i taj warning ti nista ne smeta.

C:\Users\User\Desktop\Balkan-Life RPG\Balkan-Life RPG\filterscripts\AFK.pwn(61) : warning 217: loose indentation
C:\Users\User\Desktop\Balkan-Life RPG\Balkan-Life RPG\filterscripts\AFK.pwn(72) : warning 217: loose indentation
C:\Users\User\Desktop\Balkan-Life RPG\Balkan-Life RPG\filterscripts\AFK.pwn(76) : warning 217: loose indentation
Pawn compiler 3.2.3664           Copyright (c) 1997-2006, ITB CompuPhase


3 Warnings.
jos samo to pliz xD
61 red :
if(GetPVarInt(i, "TabbedOut"))
72
                        new string[70], name[24];
i 76
                    Kick(i);
Pocetni Skripter Balkan Life RolePlay Owner

Mr.Gagi

Poravnaj linije ili jednostavno dodaj ispod include-ova #pragma tabsize 0