[Pomoc] nije upisao spawn

Započeo [GU:RP] Ivica, April 10, 2013, 14:26:52 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 2 gostiju pregledaju ovu temu.

Skripta koju koristim:cyber
Detaljan opis problema:koristim yini i sad sam si stavio spawn na bazu i oke i odem sa servera i udem spawnam se na kolodvoru odem u igracev acc nije uopce upisao spawn a stavio sam da upisuje. Hvala
Dio skripte:
Neke slike/video za lakse dobivanje pomoci(neobavezno):

kada kompajlass mod naprvi novi acc pa probaj upisujel ? i reci

ma gledao sam par puta nije bilo ostalo je sve upisalo lijepo i radi

De mi posalji ovdje kako si napravio da ti upisuje i cita

e primjetio sam jos d anema u fileu od acc za cd playeri par dozvola plovidba i oruzje takoder nema ni za stan

evo
ovo sprema kad se igrac disconecta
new INI:file = INI_Open(Path(playerid)); //will open their file
    INI_SetTag(file,"Player's Data");
    INI_WriteInt(file,"Level",GetPlayerScore(playerid));
    INI_WriteInt(file,"AdminLevel",PlayerInfo[playerid][Admin]);
    INI_WriteInt(file,"GSLevel",PlayerInfo[playerid][pGameMaster]);
    INI_WriteInt(file,"ConnectedTime",PlayerInfo[playerid][pConnectTime]);
    INI_WriteInt(file,"Registered",PlayerInfo[playerid][pReg]);
    INI_WriteInt(file,"Spol",PlayerInfo[playerid][pSex]);
    INI_WriteInt(file,"Godine",PlayerInfo[playerid][pAge]);
    INI_WriteInt(file,"Vikendica",PlayerInfo[playerid][pVikendica]);
    INI_WriteInt(file,"Podrijetlo",PlayerInfo[playerid][pOrigin]);
    INI_WriteInt(file,"Utisan",PlayerInfo[playerid][pMuted]);
    INI_WriteInt(file,"Respekti",PlayerInfo[playerid][pExp]);
    INI_WriteInt(file,"Novac",GetPlayerMoney(playerid));
    INI_WriteInt(file,"Banka",PlayerInfo[playerid][pAccount]);
    INI_WriteInt(file,"Kredito",PlayerInfo[playerid][IznosRate]);
    INI_WriteInt(file,"Kreditona",PlayerInfo[playerid][PreostaloZaOtplatu]);
    INI_WriteInt(file,"Zlocini",PlayerInfo[playerid][pCrimes]);
    INI_WriteInt(file,"Ubojstva",PlayerInfo[playerid][pKills]);
    INI_WriteInt(file,"Ubijenputa",PlayerInfo[playerid][pDeaths]);
    INI_WriteInt(file,"Uhicen",PlayerInfo[playerid][pArrested]);
    INI_WriteInt(file,"WantedSmrti",PlayerInfo[playerid][pWantedDeaths]);
    INI_WriteInt(file,"Imenik",PlayerInfo[playerid][pPhoneBook]);
    INI_WriteInt(file,"Posao",PlayerInfo[playerid][pJob]);
    INI_WriteInt(file,"PayCheck",PlayerInfo[playerid][pPayCheck]);
    INI_WriteInt(file,"HeadValue",PlayerInfo[playerid][pHeadValue]);
    INI_WriteInt(file,"Zatvoren",PlayerInfo[playerid][pJailed]);
    INI_WriteInt(file,"Zatvorenna",PlayerInfo[playerid][pJailTime]);
    INI_WriteInt(file,"Upozorenja",PlayerInfo[playerid][Opomenut]);
    INI_WriteInt(file,"Materijali",PlayerInfo[playerid][pMats]);
    INI_WriteInt(file,"Lider",PlayerInfo[playerid][Lider]);
    INI_WriteInt(file,"Clan",PlayerInfo[playerid][Clan]);
    INI_WriteInt(file,"FClan",PlayerInfo[playerid][pFMember]);
    INI_WriteInt(file,"Rank",PlayerInfo[playerid][pRank]);
    INI_WriteInt(file,"Char",PlayerInfo[playerid][pChar]);
    INI_WriteInt(file,"ContractTime",PlayerInfo[playerid][pContractTime]);
    INI_WriteInt(file,"Tutorial",PlayerInfo[playerid][pTut]);
    INI_WriteInt(file,"Detskill",PlayerInfo[playerid][pDetSkill]);
    INI_WriteInt(file,"Sexskill",PlayerInfo[playerid][pSexSkill]);
    INI_WriteInt(file,"Lawskill",PlayerInfo[playerid][pLawSkill]);
    INI_WriteInt(file,"Mechskill",PlayerInfo[playerid][pMechSkill]);
    INI_WriteInt(file,"Newsskill",PlayerInfo[playerid][pNewsSkill]);
    INI_WriteFloat(file,"pSHealth=%.1f\n",PlayerInfo[playerid][pSHealth]);
    GetPlayerHealth(playerid,PlayerInfo[playerid][pHealth]);
    INI_WriteFloat(file,"pHealth=%.1f\n",PlayerInfo[playerid][pHealth]);
    INI_WriteInt(file,"Int",PlayerInfo[playerid][pInt]);
INI_WriteInt(file,"Local",PlayerInfo[playerid][pLocal]);
INI_WriteInt(file,"Team",PlayerInfo[playerid][pTeam]);
INI_WriteInt(file,"Model",PlayerInfo[playerid][pModel]);
INI_WriteInt(file,"Mobitel",PlayerInfo[playerid][pPnumber]);
INI_WriteInt(file,"Kuca",PlayerInfo[playerid][pPhousekey]);
INI_WriteInt(file,"Kuca1",PlayerInfo[playerid][pPhousekey1]);
INI_WriteInt(file,"Firma",PlayerInfo[playerid][pPbiskey]);
INI_WriteInt(file,"Firma1",PlayerInfo[playerid][pPsiskey]);
INI_WriteInt(file,"Firma2",PlayerInfo[playerid][pPbizkey]);
INI_WriteInt(file,"VW",PlayerInfo[playerid][pVW]);
INI_WriteInt(file,"Kredit",PlayerInfo[playerid][pKredit]);
INI_WriteInt(file,"Donator",PlayerInfo[playerid][pDonator]);
if ((PlayerInfo[playerid][pPos_x]==0.0 && PlayerInfo[playerid][pPos_y]==0.0 && PlayerInfo[playerid][pPos_z]==0.0))
{
PlayerInfo[playerid][pPos_x] = 1684.9;
PlayerInfo[playerid][pPos_y] = -2244.5;
PlayerInfo[playerid][pPos_z] = 13.5;
}
INI_WriteFloat(file,"Pos_x=%.1f\n",PlayerInfo[playerid][pPos_x]);//As explained above
INI_WriteFloat(file,"Pos_y=%.1f\n",PlayerInfo[playerid][pPos_y]);//As explained above
INI_WriteFloat(file,"Pos_z=%.1f\n",PlayerInfo[playerid][pPos_z]);//As explained above
INI_WriteFloat(file,"pHCPos_x=%.1f\n",PlayerInfo[playerid][pHCPos_x]);
INI_WriteFloat(file,"pHCPos_y=%.1f\n",PlayerInfo[playerid][pHCPos_y]);
INI_WriteFloat(file,"pHCPos_z=%.1f\n",PlayerInfo[playerid][pHCPos_z]);
INI_WriteFloat(file,"pHCRot_=%.1f\n",PlayerInfo[playerid][pHCRot_]);
INI_WriteInt(file,"Vozacka",PlayerInfo[playerid][pCarLic]);
INI_WriteInt(file,"DozvolaLetenje",PlayerInfo[playerid][DozvolaLetenje]);
INI_WriteInt(file,"DozvolaPlovidba",PlayerInfo[playerid][DozvolaPlovidba]);
INI_WriteInt(file,"DozvolaOruzje",PlayerInfo[playerid][DozvolaOruzje]);
INI_WriteInt(file,"CDPlayer",PlayerInfo[playerid][pCDPlayer]);
INI_WriteInt(file,"Stan",PlayerInfo[playerid][pStan]);
INI_WriteInt(file,"Spawn",PlayerInfo[playerid][pSpawnChange]);
INI_WriteInt(file,"HCCar",HCInfo[playerid][pHCar]);
INI_WriteInt(file,"Vjencan",PlayerInfo[playerid][pMarried]);
INI_WriteInt(file,"VjencanZa",PlayerInfo[playerid][pMarriedTo]);
INI_WriteInt(file,"Zavezan",PlayerInfo[playerid][Zavezan]);
INI_WriteInt(file,"Naocale",Dzep[playerid][xNaocare]);
INI_WriteInt(file,"Kokica",Dzep[playerid][xKoka]);
INI_WriteInt(file,"Sjemena",Dzep[playerid][xSemena]);
INI_WriteInt(file,"Drugs",Dzep[playerid][xDroga]);
INI_WriteInt(file,"Drogica",Stvari[playerid][zDroga]);
INI_WriteInt(file,"Pizza",Stvari[playerid][zPizza]);
INI_WriteInt(file,"Koksica",Stvari[playerid][zKoka]);
INI_WriteInt(file,"Sjemenica",Stvari[playerid][zSemena]);
INI_WriteInt(file,"Oruzjana",Stvari[playerid][zGDOruzje]);
INI_WriteInt(file,"ProdajaOruzja",Stvari[playerid][zGDProdaja]);//pickica
INI_WriteInt(file,"Uzica",Dzep[playerid][xUze]);
INI_WriteInt(file,"Uze",Stvari[playerid][zUze]);
INI_WriteInt(file,"Ciga",Dzep[playerid][xCigare]);
INI_WriteInt(file,"Nick",PlayerInfo[playerid][Banovan]);
INI_WriteInt(file,"Bannick",PlayerInfo[playerid][Bannick]);
INI_WriteInt(file,"Cigara",Stvari[playerid][zCigare]);
INI_WriteInt(file,"Upaljenko",Dzep[playerid][xUpaljac]);
INI_WriteInt(file,"PayPo",PlayerInfo[playerid][pMinute]);
INI_WriteInt(file,"RacunMobitel",PlayerInfo[playerid][RacunMobitel]);
INI_WriteInt(file,"hHeal",PlayerInfo[playerid][hHealH]);
INI_WriteInt(file,"Harmour",PlayerInfo[playerid][hArmourH]);
INI_WriteInt(file,"TimUgovor",PlayerInfo[playerid][TimUgovor]);
INI_WriteInt(file,"KaznaUgovor",PlayerInfo[playerid][KaznaUgovor]);
INI_WriteInt(file,"DonOpcija",PlayerInfo[playerid][MozeDaGasiMobilni]);
INI_WriteInt(file,"DetektivVrijeme",PlayerInfo[playerid][DetektivVreme]);
INI_WriteInt(file,"DzVreme",PlayerInfo[playerid][DzeparosVreme]);
INI_WriteInt(file,"KrVreme",PlayerInfo[playerid][KradljivacVreme]);
INI_WriteInt(file,"MehVreme",PlayerInfo[playerid][MehanicarOdvoz]);
INI_WriteInt(file,"ADvreme",PlayerInfo[playerid][AdTimer]);
INI_WriteInt(file,"Kapa",PlayerInfo[playerid][pKapa]);
INI_WriteInt(file,"Kosa",PlayerInfo[playerid][pKosa]);
INI_WriteInt(file,"Kaciga",PlayerInfo[playerid][Kaciga]);
INI_WriteInt(file,"Auto",Carlist[playerid][Typ]);
INI_WriteInt(file,"Motor",Bikelist[playerid][bTyp]);
INI_WriteInt(file,"Letjelica",Planelist[playerid][planeTyp]);
INI_WriteInt(file,"Plovilo",Boatlist[playerid][BoatTyp]);
INI_WriteInt(file,"Borbenistil",PlayerInfo[playerid][BorbeniStil]);
INI_Close(file);


ovo ucitava

forward loadaccount_user(playerid, name[], value[]);
public loadaccount_user(playerid, name[], value[])
{
    INI_String("Password", PlayerInfo[playerid][Pass],129);
    INI_Int("Level",PlayerInfo[playerid][pLevel]);//As explained above
    INI_Int("AdminLevel",PlayerInfo[playerid][Admin]); //As explained above
    INI_Int("GSLevel",PlayerInfo[playerid][pGameMaster]);//As explained above
    INI_Int("ConnectedTime",PlayerInfo[playerid][pConnectTime]);//As explained above
    INI_Int("Registered",PlayerInfo[playerid][pReg]);//As explained above
    INI_Int("Spol",PlayerInfo[playerid][pSex]);//As explained above
    INI_Int("Godine",PlayerInfo[playerid][pAge]);//As explained above
    INI_Int("Vikendica",PlayerInfo[playerid][pVikendica]);//As explained above
    INI_Int("Podrijetlo",PlayerInfo[playerid][pOrigin]);//As explained above
    INI_Int("Utisan",PlayerInfo[playerid][pMuted]);//As explained above
    INI_Int("Respekti",PlayerInfo[playerid][pExp]);//As explained above
    INI_Int("Novac",PlayerInfo[playerid][pCash]);//As explained above
    INI_Int("Banka",PlayerInfo[playerid][pAccount]);//As explained above
    INI_Int("Kredito",PlayerInfo[playerid][IznosRate]);//As explained above
    INI_Int("Kreditona",PlayerInfo[playerid][PreostaloZaOtplatu]);//As explained above
    INI_Int("Zlocini",PlayerInfo[playerid][pCrimes]);//As explained above
    INI_Int("Ubojstva",PlayerInfo[playerid][pKills]);//As explained above
    INI_Int("Ubijenputa",PlayerInfo[playerid][pDeaths]);//As explained above
    INI_Int("Uhicen",PlayerInfo[playerid][pArrested]);//As explained above
    INI_Int("WantedSmrti",PlayerInfo[playerid][pWantedDeaths]);//As explained above
    INI_Int("Imenik",PlayerInfo[playerid][pPhoneBook]);//As explained above
    INI_Int("Posao",PlayerInfo[playerid][pJob]);//As explained above
    INI_Int("PayCheck",PlayerInfo[playerid][pPayCheck]);//As explained above
    INI_Int("HeadValue",PlayerInfo[playerid][pHeadValue]);//As explained above
    INI_Int("Zatvoren",PlayerInfo[playerid][pJailed]);//As explained above
    INI_Int("Zatvorenna",PlayerInfo[playerid][pJailTime]);//As explained above
    INI_Int("Upozorenja",PlayerInfo[playerid][Opomenut]);//As explained above
    INI_Int("Materijali",PlayerInfo[playerid][pMats]);//As explained above
    INI_Int("Lider",PlayerInfo[playerid][Lider]);//As explained above
    INI_Int("Clan",PlayerInfo[playerid][Clan]);//As explained above
    INI_Int("FClan",PlayerInfo[playerid][pFMember]);//As explained above
    INI_Int("Rank",PlayerInfo[playerid][pRank]);//As explained above
    INI_Int("Char",PlayerInfo[playerid][pChar]);//As explained above
    INI_Int("ContractTime",PlayerInfo[playerid][pContractTime]);//As explained above
    INI_Int("Tutorial",PlayerInfo[playerid][pTut]);//As explained above
    INI_Int("Detskill",PlayerInfo[playerid][pDetSkill]);//As explained above
    INI_Int("Sexskill",PlayerInfo[playerid][pSexSkill]);//As explained above
    INI_Int("Lawskill",PlayerInfo[playerid][pLawSkill]);//As explained above
    INI_Int("Mechskill",PlayerInfo[playerid][pMechSkill]);//As explained above
    INI_Int("Newsskill",PlayerInfo[playerid][pNewsSkill]);//As explained above
    INI_Float("pSHealth=%.1f\n",PlayerInfo[playerid][pSHealth]);
    GetPlayerHealth(playerid,PlayerInfo[playerid][pHealth]);
    INI_Float("pHealth=%.1f\n",PlayerInfo[playerid][pHealth]);//As explained above
INI_Int("Int",PlayerInfo[playerid][pInt]);//As explained above
INI_Int("Local",PlayerInfo[playerid][pLocal]);//As explained above
INI_Int("Team",PlayerInfo[playerid][pTeam]);//As explained above
INI_Int("Model",PlayerInfo[playerid][pModel]);//As explained above
INI_Int("Mobitel",PlayerInfo[playerid][pPnumber]);//As explained above
INI_Int("Kuca",PlayerInfo[playerid][pPhousekey]);//As explained above
INI_Int("Kuca1",PlayerInfo[playerid][pPhousekey1]);//As explained above
INI_Int("Firma",PlayerInfo[playerid][pPbiskey]);//As explained above
INI_Int("Firma1",PlayerInfo[playerid][pPsiskey]);//As explained above
INI_Int("Firma2",PlayerInfo[playerid][pPbizkey]);//As explained above
INI_Int("VW",PlayerInfo[playerid][pVW]);//As explained above
INI_Int("Kredit",PlayerInfo[playerid][pKredit]);//As explained above
INI_Int("Donator",PlayerInfo[playerid][pDonator]);//As explained above
if ((PlayerInfo[playerid][pPos_x]==0.0 && PlayerInfo[playerid][pPos_y]==0.0 && PlayerInfo[playerid][pPos_z]==0.0))
{
PlayerInfo[playerid][pPos_x] = 1684.9;
PlayerInfo[playerid][pPos_y] = -2244.5;
PlayerInfo[playerid][pPos_z] = 13.5;
}
INI_Float("Pos_x=%.1f\n",PlayerInfo[playerid][pPos_x]);//As explained above
INI_Float("Pos_y=%.1f\n",PlayerInfo[playerid][pPos_y]);//As explained above
INI_Float("Pos_z=%.1f\n",PlayerInfo[playerid][pPos_z]);//As explained above
INI_Int("Vozacka",PlayerInfo[playerid][pCarLic]);//As explained above
INI_Int("DozvolaLetenje",PlayerInfo[playerid][DozvolaLetenje]);//As explained above
INI_Int("DozvolaPlovidba",PlayerInfo[playerid][DozvolaPlovidba]);//As explained above
INI_Int("DozvolaOruzje",PlayerInfo[playerid][DozvolaOruzje]);//As explained above
INI_Int("CDPlayer",PlayerInfo[playerid][pCDPlayer]);//As explained above
INI_Int("Stan",PlayerInfo[playerid][pStan]);//As explained above
INI_Int("Spawn",PlayerInfo[playerid][pSpawnChange]);//As explained above
INI_Float("pHCPos_x=%.1f\n",PlayerInfo[playerid][pHCPos_x]);//As explained above
INI_Float("pHCPos_y=%.1f\n",PlayerInfo[playerid][pHCPos_y]);//As explained above
INI_Float("pHCPos_z=%.1f\n",PlayerInfo[playerid][pHCPos_z]);//As explained above
INI_Float("pHCRot_=%.1f\n",PlayerInfo[playerid][pHCRot_]);//As explained above
INI_Int("HCCar",HCInfo[playerid][pHCar]);//As explained above
INI_Int("Vjencan",PlayerInfo[playerid][pMarried]);//As explained above
INI_Int("VjencanZa",PlayerInfo[playerid][pMarriedTo]);//As explained above
INI_Int("Zavezan",PlayerInfo[playerid][Zavezan]);//As explained above
INI_Int("Naocale",Dzep[playerid][xNaocare]);//As explained above
INI_Int("Kokica",Dzep[playerid][xKoka]);//As explained above
INI_Int("Sjemena",Dzep[playerid][xSemena]);//As explained above
INI_Int("Drugs",Dzep[playerid][xDroga]);//As explained above
INI_Int("Drogica",Stvari[playerid][zDroga]);//As explained above
INI_Int("Pizza",Stvari[playerid][zPizza]);//As explained above
INI_Int("Koksica",Stvari[playerid][zKoka]);//As explained above
INI_Int("Sjemenica",Stvari[playerid][zSemena]);//As explained above
INI_Int("Oruzjana",Stvari[playerid][zGDOruzje]);//As explained above
INI_Int("ProdajaOruzja",Stvari[playerid][zGDProdaja]);//As explained above
INI_Int("Uzica",Dzep[playerid][xUze]);//As explained above
INI_Int("Uze",Stvari[playerid][zUze]);//As explained above
INI_Int("Ciga",Dzep[playerid][xCigare]);//As explained above
INI_Int("Nick",PlayerInfo[playerid][Banovan]);//As explained above
INI_Int("Bannick",PlayerInfo[playerid][Bannick]);//As explained above
INI_Int("Cigara",Stvari[playerid][zCigare]);//As explained above
INI_Int("Upaljenko",Dzep[playerid][xUpaljac]);//As explained above
INI_Int("PayPo",PlayerInfo[playerid][pMinute]);//As explained above
INI_Int("RacunMobitel",PlayerInfo[playerid][RacunMobitel]);//As explained above
INI_Int("hHeal",PlayerInfo[playerid][hHealH]);//As explained above
INI_Int("Harmour",PlayerInfo[playerid][hArmourH]);//As explained above
INI_Int("TimUgovor",PlayerInfo[playerid][TimUgovor]);//As explained above
INI_Int("KaznaUgovor",PlayerInfo[playerid][KaznaUgovor]);//As explained above
INI_Int("DonOpcija",PlayerInfo[playerid][MozeDaGasiMobilni]);//As explained above
INI_Int("DetektivVrijeme",PlayerInfo[playerid][DetektivVreme]);//As explained above
INI_Int("DzVreme",PlayerInfo[playerid][DzeparosVreme]);//As explained above
INI_Int("KrVreme",PlayerInfo[playerid][KradljivacVreme]);//As explained above
INI_Int("MehVreme",PlayerInfo[playerid][MehanicarOdvoz]);//As explained above
INI_Int("ADvreme",PlayerInfo[playerid][AdTimer]);//As explained above
INI_Int("Kapa",PlayerInfo[playerid][pKapa]);//As explained above
INI_Int("Kosa",PlayerInfo[playerid][pKosa]);//As explained above
INI_Int("Kaciga",PlayerInfo[playerid][Kaciga]);//As explained above
INI_Int("Auto",Carlist[playerid][Typ]);//As explained above
INI_Int("Motor",Bikelist[playerid][bTyp]);//As explained above
INI_Int("Letjelica",Planelist[playerid][planeTyp]);//As explained above
INI_Int("Plovilo",Boatlist[playerid][BoatTyp]);//As explained above
INI_Int("Borbenistil",PlayerInfo[playerid][BorbeniStil]);//As explained above
    return 1;
}

Ja kolko vidim ovdje ti je uredu ako nesto nisam preskocio ...

pa i ja isto vecinu je upisao nisam vidio da tamo ima za stan spawn i par dozvola ovo za oruzje plovidbu nezz zasto



Probaj opet to uraditi sve sto ne upisuje ali polako ... ako opet nebude spremalo onda neznam mozda si negdje nesta izostavio a nisi vidio itd .
Poslednja Izmena: April 10, 2013, 15:12:54 POSLE PODNE od |...KuNNa...|

stavio sam za to di nije upisalo sam stavio na pocetak pa cu vidjet oceli upisat tada


nema toga da se povecava string ili slc