Skripta koju koristim: [FS] Fudbal
Detaljan opis problema:
Imam problem... Nemogu popraviti ove errore nikako, a bilo ih je 7 i sve sam ih uspio osim ova 3
C:\Users\Mandić\Desktop\afagadfb\filterscripts\nogomet.pwn(858) : warning 217: loose indentation
C:\Users\Mandić\Desktop\afagadfb\filterscripts\nogomet.pwn(970) : warning 217: loose indentation
C:\Users\Mandić\Desktop\afagadfb\filterscripts\nogomet.pwn(1019) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
3 Warnings.
Bilo ih je 7 ali sve sam ih popravio samo neznam ovaj
Line 858:
else if(biglietto[playerid] == 0 && stuart[playerid]== 1)
{
format(string, sizeof(string), "grandstand\ndiscovery platform\ncurve fans %s\ncurve fans %s", squadra1, squadra2);
ShowPlayerDialog(playerid, 15, DIALOG_STYLE_LIST, "Stuart Entrance - Choose where to go", string, "Izaberi", "Obrisi");
}
else
{
SendClientMessage(playerid, COLOR_WHITE, "Nemas ticket!");
return 1;
}
}
}
}return 1; // ovo je LINE 858
}
Evo od
LINE 970
public PlayerToPoint(Float:radi, playerid, Float:x, Float:y, Float:z)
{
if(IsPlayerConnected(playerid))
{
new Float:oldposx, Float:oldposy, Float:oldposz;
new Float:tempposx, Float:tempposy, Float:tempposz;
GetPlayerPos(playerid, oldposx, oldposy, oldposz);
tempposx = (oldposx -x);
tempposy = (oldposy -y);
tempposz = (oldposz -z);
//printf("DEBUG: X:%f Y:%f Z:%f",posx,posy,posz);
if (((tempposx < radi) && (tempposx > -radi)) && ((tempposy < radi) && (tempposy > -radi)) && ((tempposz < radi) && (tempposz > -radi)))
{
return 1;
}
}
return 0;// OVO JE LINE 970
}
I od
LINE 1019
if(para1 != INVALID_PLAYER_ID)
{
GetPlayerName(para1, giveplayer, sizeof(giveplayer));
GetPlayerName(playerid, sendername, sizeof(sendername));
arbitro[para1] = 1;
printf("%s je izabrao %s za sudiju.", sendername, giveplayer);
format(string, sizeof(string), " %s je izabro tebe za sudiju", sendername);
SendClientMessage(para1, COLOR_WHITE, string);
format(string, sizeof(string), " Vi ste izabrali %s za sudiju.", giveplayer);
SendClientMessage(playerid, COLOR_WHITE, string);
format(string, sizeof(string), " %s je sudija za sledeci mec! SVI NA STADION !!", giveplayer);
SendClientMessageToAll(COLOR_GROVE, string);
skin[para1] = GetPlayerSkin(para1);
SetPlayerSkin(para1, 72);
}
}
}
return 1;// OVO JE LINE 1019
}
Dio skripte://
Neke slike/video za lakse dobivanje pomoci(neobavezno)://
dodaj na vrh
#pragma tabsize 0
Citat: [BG]Bojan poslato Jun 25, 2012, 20:20:04 POSLE PODNE
dodaj na vrh
#pragma tabsize 0
to ili sa tipkom tab poravnaj te linije
ubacio sam pragma i sada radi hvala!
Problem rijesen moze lock!
Citat: Marin_Mandic. poslato Jun 26, 2012, 09:05:18 PRE PODNE
Problem rijesen moze lock!
Pa cekaj? Zasto to moras dvaput da kazes? ....lock