14.06.2015, 19:52
Quote:
muda esse stock para essa
Код:
SetarPlayer(playerid) { new String[256], name[MAX_PLAYER_NAME]; GetPlayerName(playerid, name, 32); format(String, 40, "Contas/%s.ini", name); GetPlayerScore(playerid, PlayerInfo[playerid][pScore]); GetPlayerMoney(playerid, PlayerInfo[playerid][pDinheiro]); PlayerInfo[playerid][pScore] = DOF2_GetInt(String,"Level"); PlayerInfo[playerid][pDinheiro] = DOF2_GetInt(String,"Dinheiro"); PlayerInfo[playerid][pLogou] = DOF2_GetInt(String, "Logou"); PlayerInfo[playerid][pMatou] = DOF2_GetInt(String, "Matou"); PlayerInfo[playerid][pMorreu] = DOF2_GetInt(String, "Morreu"); DOF2_SaveFile(); return 1; } |