Eh..ovako...Totalna sam n00bina u PAWN skriptanju..
pokusavam da compile jednu filterscript i onda mi izbaci ovo :
C:\Documents and Settings\Kristijan\My Documents\My Script\filterscripts\Football.pwn(469) : warning 217: loose indentation
C:\Documents and Settings\Kristijan\My Documents\My Script\filterscripts\Football.pwn(629) : warning 217: loose indentation
C:\Documents and Settings\Kristijan\My Documents\My Script\filterscripts\Football.pwn(654) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
3 Warnings.
Znam da treba da "pomjerim" linije 469,629 i 654 "tab" tipkom ali mi nikako ne ide,kako god pomjerim ta 3 upozorenja
i dalje stoje ili se cak poveca na 4 ..
Dali neko moze da mi ispravi ove linije :/
if(allenamento[playerid] == 1)
{
SetPlayerPos(playerid, -183.8667,-131.6020,5.0900);
SendClientMessage(playerid, COLOR_WHITE, "Finish training");
allenamento[playerid] = 0;
}
else
{
SetPlayerPos(playerid, -183.8667,-131.6020,5.0900);
}
}
}
else if(keys == KEY_SPRINT && PlayerToPoint(1.7, playerid, -202.9730,-66.6648,3.3062))
{
if(biglietto[playerid] == 1)
{
SetPlayerPos(playerid, -211.9384,3.9319,7.9039);
SendClientMessage(playerid, COLOR_WHITE, "Go down from ladders to exit from the stadium");
GameTextForPlayer(playerid, "~g~Welcome", 5000, 1);
biglietto[playerid] = 0;
spettatore[playerid] = 1;
MetalDetector(playerid);
}
else if(biglietto[playerid] == 2)
{
SetPlayerPos(playerid, -147.5607,-19.1419,8.0165);
SendClientMessage(playerid, COLOR_WHITE, "Go down from ladders to exit from the stadium");
GameTextForPlayer(playerid, "~g~Welcome", 5000, 1);
biglietto[playerid] = 0;
spettatore[playerid] = 1;
MetalDetector(playerid); }
else if(biglietto[playerid] == 3)
{
SetPlayerPos(playerid, -200.3670,-55.6259,9.6309);
SendClientMessage(playerid, COLOR_WHITE, "Go down from ladders to exit from the stadium");
GameTextForPlayer(playerid, "~g~Welcome", 5000, 1);
biglietto[playerid] = 0;
spettatore[playerid] = 1;
MetalDetector(playerid); }
else if(biglietto[playerid] == 4)
Procitaj pravila : http://balkan-samp.com/forum/index.php?topic=11453.0
samo poravnaj linije.
Citat: System32 poslato Jul 07, 2011, 13:08:33 POSLE PODNE
Citat: [TG]$--L84S--$ poslato Jul 07, 2011, 13:07:55 POSLE PODNE
samo poravnaj linije.
ccc pa moderator si...
?? zasto ako mislis da nije po pravilima je samo nije stavio u obliku Mod koji koristim i to vec je objansio.
a kao 2. ti bi mogao procitati pravila.
CitatZabranjeno je odgovarati na postove ukoliko nekome ne mozete dati savjet ili mu ne mozete pomoci.
stvarno si me iznevjerio:
1.Naslov
2.Nije po kodu :S