5 error's please help!
#1

public OnPlayerConnect(playerid)
{
SendClientMessage(playerid, WHITE, "Welcome to Real Europian RolePlay");
SendClientMessageToAll(WHITE, "A player joined the server!");
Login[playerid] = 0;
new nombre[MAX_PLAYER_NAME], archivo[256];
GetPlayerName(playerid, nombre, sizeof(nombre));
format(archivo, sizeof(archivo), "/Users/%s.ini", nombre);
if (!dini_Exists(archivo))
{
ShowPlayerDialog(playerid, Register, DIALOG_STYLE_INPUT, "Register", "Please enter a password:", "Okay", "Back");
}
else
{
ShowPlayerDialog(playerid, Logged, DIALOG_STYLE_INPUT, "Login", "Enter your password", "Login", "Back");
}
return 1;
}

{
PosX[ playerid ] = 0;
PosY[ playerid ] = 0;
PosZ[ playerid ] = 0;
Angle[ playerid ] = 0;
Interior[ playerid ] = 0;
VirtualWorld[ playerid ] = 0;

INI_ParseFile(user_ini_file(playerid), "load_user_%s", .bExtra = true, .extra = playerid);
return 1;
}

Errors :

\RERP.pwn(10 : error 055: start of function body without function header
\RERP.pwn(116) : error 025: function heading differs from prototype
\RERP.pwn(116) : error 021: symbol already defined: "INI_ParseFile"
\RERP.pwn(116) : error 010: invalid function or declaration
\RERP.pwn(116) : fatal error 107: too many error messages on one line
Reply


Messages In This Thread
5 error's please help! - by Derek Westbrook - 09.04.2012, 12:16
Re: 5 error's please help! - by Derek Westbrook - 09.04.2012, 12:18
Re: 5 error's please help! - by Ash. - 09.04.2012, 12:29
Re: 5 error's please help! - by Cjgogo - 09.04.2012, 12:55

Forum Jump:


Users browsing this thread: 1 Guest(s)