Quote:
Originally Posted by Affan
pawn Код:
public OnPlayerDisconnect(playerid, reason) { new name[MAX_PLAYER_NAME], file[256]; GetPlayerName(playerid, name, sizeof(name)); format(file, sizeof(file), SERVER_USER_FILE, name); // Change path if(gPlayerLogged[playerid] == 1) // Change your is player logged in { dini_IntSet(file, "Score", PInfo[playerid][pScore]); // Change to the settings you made in the enum } return 1; }
|
you just send me a unfull code -_-