Warning 217: loose indentation? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Warning 217: loose indentation? (
/showthread.php?tid=372936)
Warning 217: loose indentation? -
Smokkr - 28.08.2012
Hey guys, I am working on Zuc's multimode and I get this warnings:
![](http://prikachi.com/images/504/5197504Q.png)
Problem line (2827):
Problem line (2833)
pawn Код:
new sk=GetPlayerSkin(playerid);
Full code (From 2827 to 2833)
pawn Код:
if(listitem == 5){
if(Options[Language]==1)format(string, sizeof(string), "--- %s и entrato nel Mondo COPS AND ROBBERS", NomeGiocatore1);else
if(Options[Language]==2)format(string, sizeof(string), "--- %s has joined in World COPS AND ROBBERS", NomeGiocatore1);
SendClientMessageToAll(WorldChoosed,string);print(string);SetPlayerVirtualWorld(playerid,COPS_AND_ROBBERS__WORLD);
SetPlayerWeather(playerid,TEMPO_COPS_AND_ROBBERS);SetPlayerTime(playerid,ORARIO_COPS_AND_ROBBERS,00);
SetPlayerColor(playerid,FREEROAM_PLAYER);SceltaMondiFatta[playerid]=5;}
new sk=GetPlayerSkin(playerid);
Please help me.
Re: Warning 217: loose indentation? -
lamarr007 - 28.08.2012
https://sampforum.blast.hk/showthread.php?tid=256961
Search..
Re: Warning 217: loose indentation? -
sniperwars - 28.08.2012
Can you show the full code ?
Re: Warning 217: loose indentation? -
Smokkr - 28.08.2012
Quote:
Originally Posted by sniperwars
Can you show the full code ?
|
I add the full code from line 2827 to 2833.
Re: Warning 217: loose indentation? -
lamarr007 - 28.08.2012
pawn Код:
if(listitem == 5)
{
if(Options[Language]==1)format(string, sizeof(string), "--- %s e entrato nel Mondo COPS AND ROBBERS", NomeGiocatore1);else
if(Options[Language]==2)format(string, sizeof(string), "--- %s has joined in World COPS AND ROBBERS", NomeGiocatore1);
SendClientMessageToAll(WorldChoosed,string);print(string);SetPlayerVirtualWorld(playerid,COPS_AND_ROBBERS__WORLD);
SetPlayerWeather(playerid,TEMPO_COPS_AND_ROBBERS);SetPlayerTime(playerid,ORARIO_COPS_AND_ROBBERS,00);
SetPlayerColor(playerid,FREEROAM_PLAYER);SceltaMondiFatta[playerid]=5;}
new sk=GetPlayerSkin(playerid);
}