Loose indentation
#3

pawn Код:
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;
From the pawn code it shows you have one to many indentions. Delete one. Indention means tab spaces.
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: 2 Guest(s)