04.02.2015, 21:32
(
Последний раз редактировалось Alvin007; 04.02.2015 в 22:05.
Причина: FIXED
)
Hello there.
I have encountered a new problem today, i found out that deaths dont count.
Notice that server is'nt hosted.
Notice aswell these codes.
OnPlayerConnect
OnPlayerDeath
OnPlayerDisconnect
However Admin level saves with the same way, i have no problem with it.
I have encountered a new problem today, i found out that deaths dont count.
Notice that server is'nt hosted.
Notice aswell these codes.
OnPlayerConnect
PHP код:
if(fexist(UserPath(playerid)))
{
INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,""COL_WHITE"Login",""COL_WHITE"Type your password below to login.","Login","Quit");
}
PHP код:
PlayerInfo[killerid][pKills]++;
PlayerInfo[playerid][pDeaths]++;
PHP код:
INI_WriteInt(File,"Deaths",PlayerInfo[playerid][pDeaths]);