24.07.2014, 02:25
Galera meu sistema de salvamento nгo ta salvando -' ajudem-me
Olha ae o onplayerdisconnect
Olha ae o onplayerdisconnect
Код:
new arquivip[34], playernomevip[MAX_PLAYER_NAME]; GetPlayerName(playerid, playernomevip, sizeof(playernomevip)); format(arquivip, sizeof(arquivip), "Jogadores/%s", playernomevip); if (!DOF2_FileExists(arquivip)) { DOF2_CreateFile(arquivip); DOF2_SetInt(arquivip, "Level", pVip[playerid][Level]); DOF2_SaveFile(); } else { DOF2_SetInt(arquivip, "Level", pVip[playerid][Level]); DOF2_SaveFile(); }