26.05.2012, 09:26
pawn Код:
IsLogged[playerid] = true;
GivePlayerMoney(playerid, dini_Int(file[playerid], "Money"));
SetPlayerScore(playerid, dini_Int(file[playerid], "Score"));
AdminLevel[playerid] = dini_Int(file[playerid], "Admin");
Banned[playerid] = dini_Int(file[playerid], "IGBAN");
TimeBanned[playerid] = dini_Int(file[playerid], "TimeBanned");
TimeKicked[playerid] = dini_Int(file[playerid], "TimeKicked");
if(Banned[playerid] == 1)
I already done
pawn Код:
dini_IntSet(file[playerid], "Money", GetPlayerMoney(playerid));
dini_IntSet(file[playerid], "Score", GetPlayerScore(playerid));
dini_IntSet(file[playerid], "Kills", PlayerInfo[playerid][Kills]);
dini_IntSet(file[playerid], "Deaths", PlayerInfo[playerid][Deaths]);
dini_IntSet(file[playerid], "Admin", AdminLevel[playerid]);
dini_IntSet(file[playerid], "IGBAN", Banned[playerid]);
dini_IntSet(file[playerid], "TimeBanned", TimeBanned[playerid]);
dini_IntSet(file[playerid], "TimeKicked", TimeKicked[playerid]);
pawn Код:
enum pInfo
{
Kills,
Deaths,
}