Warning 217: loose indentation?
#1

Hey guys, I am working on Zuc's multimode and I get this warnings:

Problem line (2827):
pawn Код:
if(listitem == 5) (
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.
Reply
#2

https://sampforum.blast.hk/showthread.php?tid=256961
Search..
Reply
#3

Can you show the full code ?
Reply
#4

Quote:
Originally Posted by sniperwars
Посмотреть сообщение
Can you show the full code ?
I add the full code from line 2827 to 2833.
Reply
#5

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);
}
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)