21.10.2014, 12:55
PHP код:
public OnPlayerDisconnect(playerid, reason)
{
new INI:File = INI_Open(UserPath(playerid));
INI_SetTag(File,"data");
INI_WriteInt(File,"Score",GetPlayerScore(pScore));
INI_Close(File);
IsPlayerPolice[playerid] =0;
return 1;
}