04.04.2014, 21:24
Because not load profile??
PHP код:
public Load(playerid)
{
new pname[MAX_PLAYER_NAME], path[200];
GetPlayerName(playerid, pname, sizeof(pname));
format(path, sizeof(path), "/Account/%s.ini", pname);
pInfo[playerid][sex] = dini_Int(path, "sex");
pInfo[playerid][age] = dini_Int(path, "age");
pInfo[playerid][email] = dini_Int(path, "email");
pInfo[playerid][posX] = dini_Int(path, "posX");
pInfo[playerid][posY] = dini_Int(path, "age");
pInfo[playerid][posZ] = dini_Int(path, "posZ");
pInfo[playerid][crash] = dini_Int(path, "crash");
pInfo[playerid][morto] = dini_Int(path, "morto");
GivePlayerCash(playerid, dini_Int(path,"Money"));
pInfo[playerid][tuto] = dini_Int(path, "tuto");
pInfo[playerid][pAdmin] = dini_Int(path, "pAdmin");
pInfo[playerid][pMuted] = dini_Int(path, "pMuted");
pInfo[playerid][pLevel] = dini_Int(path, "pLevel");
pInfo[playerid][pWarns] = dini_Int(path, "pWarns");
pInfo[playerid][bomba] = dini_Int(path, "bomba");
pInfo[playerid][adesivo] = dini_Int(path, "adesivo");
pInfo[playerid][miccia] = dini_Int(path, "miccia");
pInfo[playerid][tritolo] = dini_Int(path, "tritolo");
pInfo[playerid][timer] = dini_Int(path, "timer");
pInfo[playerid][innesco] = dini_Int(path, "innesco");
pInfo[playerid][login] = dini_Int(path, "login");
pInfo[playerid][rapinabanca] = dini_Int(path, "rapinabanca");
pInfo[playerid][detona] = dini_Int(path, "detona");
pInfo[playerid][ricicla] = dini_Int(path, "ricicla");
pInfo[playerid][hotel] = dini_Int(path, "hotel");
pInfo[playerid][pPayDay] = dini_Int(path, "pPayDay");
pInfo[playerid][pPayCheck] = dini_Int(path, "pPayCheck");
pInfo[playerid][pConnectTime] = dini_Int(path, "pConnectionTime");
pInfo[playerid][pPayDayHad] = dini_Int(path, "pPayHad");
pInfo[playerid][pExp] = dini_Int(path, "pExp");
pInfo[playerid][SoldiRapine] = dini_Int(path, "SoldiRapine");
pInfo[playerid][Tasse] = dini_Int(path, "Tasse");
pInfo[playerid][Lavoro] = dini_Int(path, "Lavoro");
pInfo[playerid][Mutuo] = dini_Int(path, "Mutuo");
pInfo[playerid][RataMutuo] = dini_Int(path, "RataMutuo");
pInfo[playerid][LavoroPolizia] = dini_Int(path, "LavoroPolizia");
pInfo[playerid][InServizio] = dini_Int(path, "InServizio");
pInfo[playerid][KeyPolizia] = dini_Int(path, "KeyPolizia");
pInfo[playerid][GradiPolizia] = dini_Int(path, "GradiPolizia");
SetPlayerSkin(playerid, dini_Int(path, "skin"));
pInfo[playerid][pMaskuse] = dini_Int(path, "pMaskuse");
pInfo[playerid][Patente] = dini_Int(path, "Patente");
pInfo[playerid][autoguida] = dini_Int(path, "autoguida");
pInfo[playerid][PatenteA] = dini_Int(path, "PatenteA");
pInfo[playerid][PatenteB] = dini_Int(path, "PatenteB");
pInfo[playerid][PatenteC] = dini_Int(path, "PatenteC");
pInfo[playerid][PatenteD] = dini_Int(path, "PatenteD");
pInfo[playerid][Banchiere] = dini_Int(path, "Banchiere");
pInfo[playerid][Sindaco] = dini_Int(path, "Sindaco");
}