09.08.2012, 02:15
pawn Код:
stock LoadPlayerInfo(playerid)
{
new s[36];
format(s, sizeof(s), "Contas/%s.ini", pNick(playerid));
SetPlayerWantedLevel(playerid, dini_Int(s, "LeveldeProcurado"));
GivePlayerMoney(playerid, dini_Int(s, "Dinheiro"));
Profissao[playerid] = dini_Int(s, "Profissao");
pLevel[playerid] = dini_Int(s, "Level");
SetPlayerScore(playerid, dini_Int(s, "Level"));
Experiencia[playerid] = dini_Int(s, "ExpJogador");
gss[playerid] = dini_Int(s, "Gasolina");
SetSpawnInfo(playerid, 0, dini_Int(s, "SkinAtual"), 1109.4899,-1786.4772,16.5938, 269.15, -1, -1, -1, -1, -1, -1);
return 1;
}