[Pomoc] fexist sa puno errora

Započeo #marcus., Avgust 07, 2011, 15:02:19 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim: GM od 0
Detaljan opis problema: Neznam kako da objasnim :S jer neznam u cemu je problem :S
Dio skripte:


gIgracLogiran[playerid]=0;
new pIme[MAX_PLAYER_NAME], file[256];
GetPlayerName(playerid,pIme,sizeof(pIme));
format(file,sizeof(file),"Igraci/%s.ini",pIme);
if(!fexist(file))
{
ShowPlayerDialog(playerid,1,DIALOG_STYLE_INPUT,"{33CCFF}Test {FFFFFF}Registracija","{FFFFFF}Dobrodosao/la,\n Tvoj racun ne postoji, molimo da se registriras.","Registriraj","Izadji");
{
else
{
ShowPlayerDialog(playerid,2,DIALOG_STYLE_INPUT,"{33CCFF}Test {FFFFFF}Prijava","{FFFFFF}Dobrodosao/la,\n Tvoj racun postoji, molimo da se prijavis.","Prijavi","Izadji");
}
return 1;
}



Kad je ovako onda dobijam errore koji uopce nisu vezani uz to :S


D:\Igre\GTA San Andreas\Cro Volt Trucking v1 BETA\gamemodes\CV-TRv1BETA.pwn(90) : error 017: undefined symbol "AntiDeAMX"
D:\Igre\GTA San Andreas\Cro Volt Trucking v1 BETA\gamemodes\CV-TRv1BETA.pwn(99) : warning 217: loose indentation
D:\Igre\GTA San Andreas\Cro Volt Trucking v1 BETA\gamemodes\CV-TRv1BETA.pwn(100) : error 029: invalid expression, assumed zero
D:\Igre\GTA San Andreas\Cro Volt Trucking v1 BETA\gamemodes\CV-TRv1BETA.pwn(111) : warning 225: unreachable code
D:\Igre\GTA San Andreas\Cro Volt Trucking v1 BETA\gamemodes\CV-TRv1BETA.pwn(111) : warning 217: loose indentation
D:\Igre\GTA San Andreas\Cro Volt Trucking v1 BETA\gamemodes\CV-TRv1BETA.pwn(111) : error 029: invalid expression, assumed zero
D:\Igre\GTA San Andreas\Cro Volt Trucking v1 BETA\gamemodes\CV-TRv1BETA.pwn(111) : error 004: function "Streamer_OnPlayerDisconnect" is not implemented
D:\Igre\GTA San Andreas\Cro Volt Trucking v1 BETA\gamemodes\CV-TRv1BETA.pwn(120) : warning 225: unreachable code
D:\Igre\GTA San Andreas\Cro Volt Trucking v1 BETA\gamemodes\CV-TRv1BETA.pwn(120) : error 029: invalid expression, assumed zero
D:\Igre\GTA San Andreas\Cro Volt Trucking v1 BETA\gamemodes\CV-TRv1BETA.pwn(120) : error 004: function "OnPlayerSpawn" is not implemented
D:\Igre\GTA San Andreas\Cro Volt Trucking v1 BETA\gamemodes\CV-TRv1BETA.pwn(129) : warning 225: unreachable code
D:\Igre\GTA San Andreas\Cro Volt Trucking v1 BETA\gamemodes\CV-TRv1BETA.pwn(129) : error 029: invalid expression, assumed zero
D:\Igre\GTA San Andreas\Cro Volt Trucking v1 BETA\gamemodes\CV-TRv1BETA.pwn(129) : error 004: function "OnPlayerDeath" is not implemented
D:\Igre\GTA San Andreas\Cro Volt Trucking v1 BETA\gamemodes\CV-TRv1BETA.pwn(137) : warning 225: unreachable code
D:\Igre\GTA San Andreas\Cro Volt Trucking v1 BETA\gamemodes\CV-TRv1BETA.pwn(137) : error 029: invalid expression, assumed zero
D:\Igre\GTA San Andreas\Cro Volt Trucking v1 BETA\gamemodes\CV-TRv1BETA.pwn(137) : error 004: function "OnVehicleSpawn" is not implemented
D:\Igre\GTA San Andreas\Cro Volt Trucking v1 BETA\gamemodes\CV-TRv1BETA.pwn(145) : warning 225: unreachable code
D:\Igre\GTA San Andreas\Cro Volt Trucking v1 BETA\gamemodes\CV-TRv1BETA.pwn(145) : error 029: invalid expression, assumed zero
D:\Igre\GTA San Andreas\Cro Volt Trucking v1 BETA\gamemodes\CV-TRv1BETA.pwn(145) : error 004: function "OnVehicleDeath" is not implemented
D:\Igre\GTA San Andreas\Cro Volt Trucking v1 BETA\gamemodes\CV-TRv1BETA.pwn(153) : warning 225: unreachable code
D:\Igre\GTA San Andreas\Cro Volt Trucking v1 BETA\gamemodes\CV-TRv1BETA.pwn(153) : error 029: invalid expression, assumed zero
D:\Igre\GTA San Andreas\Cro Volt Trucking v1 BETA\gamemodes\CV-TRv1BETA.pwn(153) : error 004: function "OnPlayerText" is not implemented
D:\Igre\GTA San Andreas\Cro Volt Trucking v1 BETA\gamemodes\CV-TRv1BETA.pwn(161) : warning 225: unreachable code
D:\Igre\GTA San Andreas\Cro Volt Trucking v1 BETA\gamemodes\CV-TRv1BETA.pwn(161) : error 029: invalid expression, assumed zero
D:\Igre\GTA San Andreas\Cro Volt Trucking v1 BETA\gamemodes\CV-TRv1BETA.pwn(161) : error 004: function "zcmd_OnPlayerCommandText" is not implemented
D:\Igre\GTA San Andreas\Cro Volt Trucking v1 BETA\gamemodes\CV-TRv1BETA.pwn(163) : error 017: undefined symbol "cmdtext"
D:\Igre\GTA San Andreas\Cro Volt Trucking v1 BETA\gamemodes\CV-TRv1BETA.pwn(174) : warning 225: unreachable code
D:\Igre\GTA San Andreas\Cro Volt Trucking v1 BETA\gamemodes\CV-TRv1BETA.pwn(174) : error 029: invalid expression, assumed zero
D:\Igre\GTA San Andreas\Cro Volt Trucking v1 BETA\gamemodes\CV-TRv1BETA.pwn(174) : error 004: function "OnPlayerEnterVehicle" is not implemented
D:\Igre\GTA San Andreas\Cro Volt Trucking v1 BETA\gamemodes\CV-TRv1BETA.pwn(182) : warning 225: unreachable code
D:\Igre\GTA San Andreas\Cro Volt Trucking v1 BETA\gamemodes\CV-TRv1BETA.pwn(182) : error 029: invalid expression, assumed zero
D:\Igre\GTA San Andreas\Cro Volt Trucking v1 BETA\gamemodes\CV-TRv1BETA.pwn(182) : error 004: function "OnPlayerExitVehicle" is not implemented
D:\Igre\GTA San Andreas\Cro Volt Trucking v1 BETA\gamemodes\CV-TRv1BETA.pwn(190) : warning 225: unreachable code
D:\Igre\GTA San Andreas\Cro Volt Trucking v1 BETA\gamemodes\CV-TRv1BETA.pwn(190) : error 029: invalid expression, assumed zero
D:\Igre\GTA San Andreas\Cro Volt Trucking v1 BETA\gamemodes\CV-TRv1BETA.pwn(190) : error 004: function "OnPlayerStateChange" is not implemented
D:\Igre\GTA San Andreas\Cro Volt Trucking v1 BETA\gamemodes\CV-TRv1BETA.pwn(199) : warning 225: unreachable code
D:\Igre\GTA San Andreas\Cro Volt Trucking v1 BETA\gamemodes\CV-TRv1BETA.pwn(199) : error 029: invalid expression, assumed zero
D:\Igre\GTA San Andreas\Cro Volt Trucking v1 BETA\gamemodes\CV-TRv1BETA.pwn(199) : error 004: function "Streamer_OnPlayerEnterCP" is not implemented
D:\Igre\GTA San Andreas\Cro Volt Trucking v1 BETA\gamemodes\CV-TRv1BETA.pwn(208) : warning 225: unreachable code
D:\Igre\GTA San Andreas\Cro Volt Trucking v1 BETA\gamemodes\CV-TRv1BETA.pwn(208) : error 029: invalid expression, assumed zero

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


26 Errors.



A kad je ovako:


gIgracLogiran[playerid]=0;
/*new pIme[MAX_PLAYER_NAME], file[256];
GetPlayerName(playerid,pIme,sizeof(pIme));
format(file,sizeof(file),"Igraci/%s.ini",pIme);
if(!fexist(file))
{
ShowPlayerDialog(playerid,1,DIALOG_STYLE_INPUT,"{33CCFF}Test {FFFFFF}Registracija","{FFFFFF}Dobrodosao/la,\n Tvoj racun ne postoji, molimo da se registriras.","Registriraj","Izadji");
{
else
{
ShowPlayerDialog(playerid,2,DIALOG_STYLE_INPUT,"{33CCFF}Test {FFFFFF}Prijava","{FFFFFF}Dobrodosao/la,\n Tvoj racun postoji, molimo da se prijavis.","Prijavi","Izadji");
}*/
return 1;
}


Onda dobivam ovo :S


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



Jednostavno ne razumijem u cemu je problem, a kao sto vidite baca errore necega sto se uopce ne koristi u skripti :S


Ako sam nesto trebao dodati recite mi.


Hvala unaprijed na pomoci.
Poslednja Izmena: Avgust 07, 2011, 15:06:40 POSLE PODNE od KuNaS

Registrirajte se na Pecalicu! (Rewards1 & Prizerebel tip stranice samo sto je ova za Balkan!) Molim preko ovog linka :)

Speedo & Fuel by #marcus.

Što se tiče skriptanja mogu vam pomoći sa manjim problemima, za nešto veliko me ne ispitujte!

gIgracLogiran[playerid]=0;
new pIme[MAX_PLAYER_NAME], file[256];
GetPlayerName(playerid,pIme,sizeof(pIme));
format(file,sizeof(file),"Igraci/%s.ini",pIme);
if(!fexist(file))
{
ShowPlayerDialog(playerid,1,DIALOG_STYLE_INPUT,"{33CCFF}Test {FFFFFF}Registracija","{FFFFFF}Dobrodosao/la,\n Tvoj racun ne postoji, molimo da se registriras.","Registriraj","Izadji");
}
else
{
ShowPlayerDialog(playerid,2,DIALOG_STYLE_INPUT,"{33CCFF}Test {FFFFFF}Prijava","{FFFFFF}Dobrodosao/la,\n Tvoj racun postoji, molimo da se prijavis.","Prijavi","Izadji");
}
return 1;
}


probaj ovako...
Vratio sam se ponovo ocekjute novi server...

Puno hvala :D

Radi...

Mogu znati u cemu je bio problem?

Registrirajte se na Pecalicu! (Rewards1 & Prizerebel tip stranice samo sto je ova za Balkan!) Molim preko ovog linka :)

Speedo & Fuel by #marcus.

Što se tiče skriptanja mogu vam pomoći sa manjim problemima, za nešto veliko me ne ispitujte!

naravno...
kad imas 26 erora odma znas da je problem zagrade evo sta je tebi greska...


   gIgracLogiran[playerid]=0;
   new pIme[MAX_PLAYER_NAME], file[256];
   GetPlayerName(playerid,pIme,sizeof(pIme));
   format(file,sizeof(file),"Igraci/%s.ini",pIme);
   if(!fexist(file))
   {
      ShowPlayerDialog(playerid,1,DIALOG_STYLE_INPUT,"{33CCFF}Test {FFFFFF}Registracija","{FFFFFF}Dobrodosao/la,\n Tvoj racun ne postoji, molimo da se registriras.","Registriraj","Izadji");
   {
   else
   {
      ShowPlayerDialog(playerid,2,DIALOG_STYLE_INPUT,"{33CCFF}Test {FFFFFF}Prijava","{FFFFFF}Dobrodosao/la,\n Tvoj racun postoji, molimo da se prijavis.","Prijavi","Izadji");
   }
   return 1;
}

i pogledaj taj dio kod sebe...

znaci imo s 3 otvorene zagrade a jednu zatvorenu...
Poslednja Izmena: Avgust 07, 2011, 15:19:11 POSLE PODNE od Narco_VK
Vratio sam se ponovo ocekjute novi server...

Aaaaaaaaa nisam gledo na koju stranu je zagrada, samo sam provjeravo dal je ima, hvala puno na pomoci. :)

Registrirajte se na Pecalicu! (Rewards1 & Prizerebel tip stranice samo sto je ova za Balkan!) Molim preko ovog linka :)

Speedo & Fuel by #marcus.

Što se tiče skriptanja mogu vam pomoći sa manjim problemima, za nešto veliko me ne ispitujte!