29.10.2010, 16:53
I have:
and I get this when I compile:
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;
}
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. |