19.12.2014, 09:29
C:\Users\bob\Desktop\Login.pwn(499) : error 014: invalid statement; not in switch
C:\Users\bob\Desktop\Login.pwn(499) : warning 215: expression has no effect
C:\Users\bob\Desktop\Login.pwn(499) : error 001: expected token: ";", but found ":"
C:\Users\bob\Desktop\Login.pwn(499) : error 029: invalid expression, assumed zero
C:\Users\bob\Desktop\Login.pwn(499) : fatal error 107: too many error messages on one line
=============
case DIALOG_LOGIN:
{
if ( !response ) return Kick ( playerid );
if( response )
{
if(udb_hash(inputtext) == PlayerInfo[playerid][pPass])
{
INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
GivePlayerMoney(playerid, PlayerInfo[playerid][pCash]);
SetSpawnInfo(playerid, 0, PlayerInfo[playerid][pSkin], 1642.1584, -2334.1926, -2.6797, 359.7559, 0, 0, 0, 0, 0, 0);
SpawnPlayer(playerid);
}
else
{
Kick(playerid);
}
return 1;
}
}
}
return 1;
}
=========
Help Please! Thanks!
C:\Users\bob\Desktop\Login.pwn(499) : warning 215: expression has no effect
C:\Users\bob\Desktop\Login.pwn(499) : error 001: expected token: ";", but found ":"
C:\Users\bob\Desktop\Login.pwn(499) : error 029: invalid expression, assumed zero
C:\Users\bob\Desktop\Login.pwn(499) : fatal error 107: too many error messages on one line
=============
case DIALOG_LOGIN:
{
if ( !response ) return Kick ( playerid );
if( response )
{
if(udb_hash(inputtext) == PlayerInfo[playerid][pPass])
{
INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
GivePlayerMoney(playerid, PlayerInfo[playerid][pCash]);
SetSpawnInfo(playerid, 0, PlayerInfo[playerid][pSkin], 1642.1584, -2334.1926, -2.6797, 359.7559, 0, 0, 0, 0, 0, 0);
SpawnPlayer(playerid);
}
else
{
Kick(playerid);
}
return 1;
}
}
}
return 1;
}
=========
Help Please! Thanks!