( Pomoc ) Errori...

Započeo Alan ã‹¡, Jun 27, 2013, 22:42:15 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 3 gostiju pregledaju ovu temu.

Skripta : SL:RP

Errori :

C:\Users\Braco\Desktop\SLRP\gamemodes\SLRP.pwn(19193) : error 002: only a single statement (or expression) can follow each "case"
C:\Users\Braco\Desktop\SLRP\gamemodes\SLRP.pwn(19193 -- 19194) : error 029: invalid expression, assumed zero
C:\Users\Braco\Desktop\SLRP\gamemodes\SLRP.pwn(19198) : warning 225: unreachable code
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.


Kod :

case DIALOG_INTERVIJU:
{
new giveplayerid;
new string[128];
if(!response) return 1;
switch(listitem)
{
if(IntervijuIC[playerid] != 999)
{
SCM(playerid, ZELENA, "  Vec vodite interviju sa nekim...");
return 1;
}
foreach (Player, i)
{
giveplayerid = i;
IntervijuIC[playerid] = giveplayerid;
if(!ProxDetectorS(10.0, playerid, giveplayerid)) return SCM(playerid,BELA,"Igrac nije blizu vas");
if(IsPlayerConnected(giveplayerid))
{
if(giveplayerid != INVALID_PLAYER_ID)
{
format(string, sizeof(string), "%s vam je ponudio interviju, ako zelite prihvatiti koristi /prihvatiinterviju", ImePrezime(playerid));
SCM(giveplayerid, ZUTA, string);
SCM(playerid, BELA, "{00C0FF}Podsetnik:{ffffff}: Sve sto napisete i IC bice prikazano u emisiji");
SCM(playerid, BELA, "Da prekines emisiju Interviju koristi /prekiniinterviju");
Ponudioint[giveplayerid] = 1;
return 1;
}
}
}
}

koje su tocno linije?
Other Dimension RolePlay | Uskoro
Ukoliko zelite pomoci u razvoju servera, mozete se meni javit na PP/PM!

Linija " 19193 " i "19194"

if(IntervijuIC[playerid] != 999)
{



I linija " 19198 " i "19199 "

foreach (Player, i)
{


Pomagajte...


Brate jos jedan error imam....

Error :

C:\Users\Braco\Desktop\SLRP\gamemodes\SLRP.pwn(19758) : error 036: empty statement
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


1 Error.


Linija :

else if(IsPlayerConnected(giveplayerid));