Loose indentation
#1

I have:

pawn Код:
public OnPlayerConnect(playerid)
{
        new file[100],Name[MAX_PLAYER_NAME],Ip[16];
        GetPlayerName(playerid,Name,sizeof(Name));
        GetPlayerIp(playerid,Ip,sizeof(Ip));
        format(file,sizeof(file),PlayerFile,Name);
        strcat(PlayerInfo[playerid][pName],                 dini_Get(file,"Name"));
        strcat(PlayerInfo[playerid][pIP],                   dini_Get(file,"Ip"));
        PlayerInfo[playerid][pRegistered]                   = dini_Int(file,"Registered");
        PlayerInfo[playerid][pPassword]                     = dini_Int(file,"Password");
        PlayerInfo[playerid][pJailed]                       = dini_Int(file,"Jailed");
        PlayerInfo[playerid][pJailTime]                     = dini_Int(file,"JailTime");
        PlayerInfo[playerid][pJailed]                       = dini_Int(file, "Cash");
        PlayerInfo[playerid][pAdmin]                        = dini_Int(file, "Admin");
        PlayerInfo[playerid][pCash]                         = dini_Int(file, "Cash");
        PlayerInfo[playerid][pRegistered]                   = dini_Int(file, "Registered");
        PlayerInfo[playerid][pLogged]                       = 0;

    if(!dini_Exists(file))
    {
        ClearChatbox(playerid,10);
        SendClientMessage(playerid, COLOR_WHITE, "Your username is not recognized on this server. Please");
        SendClientMessage(playerid, COLOR_WHITE, "/register <Password> to continue to get your account registered.");
    }
    else
    {
        ClearChatbox(playerid,10);
        SendClientMessage(playerid, COLOR_WHITE, "Your username is recognized on this server. Please");
        SendClientMessage(playerid, COLOR_WHITE, "/login <Password> to continue to get your account logged in.");
        return 1;
    }
    return 1;
}
and I get this when I compile:


Quote:

C:\Users\dell\Desktop\Urban FreeRoam\filterscripts\AccountSystem.pwn(124) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Warning.

Reply


Messages In This Thread
Loose indentation - by Garc1a - 29.10.2010, 16:53
Respuesta: Loose indentation - by admantis - 29.10.2010, 16:56
Re: Loose indentation - by willsuckformoney - 29.10.2010, 16:57
Re: Loose indentation - by Alex_Valde - 29.10.2010, 16:58
Respuesta: Re: Loose indentation - by admantis - 29.10.2010, 17:00
Re: Respuesta: Re: Loose indentation - by Alex_Valde - 29.10.2010, 17:00

Forum Jump:


Users browsing this thread: 1 Guest(s)