07.07.2015, 04:26
This is my code it doesnot loads scores
When I add the following command to load the score
it gives error
It gives me a error in pop-up like this: and don't worry its a harmless file.
PHP код:
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]);
}
else
{
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD,"Login","You have entered an incorrect password.\nType your password below to login.","Login","Quit");
}
return 1;
}
}
PHP код:
SetPlayerScore(playerid, PlayerInfo[playerid][pScores]);
Quote:
Cannot create file "E\server\gamemodes\mygamemode.pwn''.Access is denied. |