03/11/2021 21:01
Skin quando o player disconecta não salva a skin
Código:
public OnPlayerDisconnect(playerid, reason)
{
DOF2_SetInt(Accounts(playerid), "Estrelas", GetPlayerWantedLevel(playerid));
DOF2_SetInt(Accounts(playerid), "Grana", GetPlayerMoney(playerid));
DOF2_SetInt(Accounts(playerid), "Level", GetPlayerScore(playerid));
DOF2_SetInt(Accounts(playerid), "Skin", GetPlayerSkin(playerid));
DOF2_SaveFile();
return 1;
}