PDA

View Full Version : load files


Nedda
05/12/2013, 11:05 AM
I have a problem with loading the data from the players .. My server is loaded PI [playerid] [Helmet] and PI [playerid] [GOLD] .. Please help!
public ProcitajLiniju(playerid, linija[])
{
new xdata, ydata[130];
sscanf(linija, "p<|>is[24]s[129]s[50]iiiiiiiiis[15]iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiis[32]iiiiiis[32]s[32]s[32]iiiiiiiiis[32]s[32]iiiiiiiis[32]s[32]iiiiiiiiiiiiiiiiiiiis[130]iiiiiiiiiiii",
xdata, PI[playerid][h_Ime], PI[playerid][Lozinka], PI[playerid][Email], PI[playerid][Nivo], PI[playerid], PI[playerid][Admin], PI[playerid][GM],
PI[playerid][Donator], PI[playerid][Novac], PI[playerid][Banka], PI[playerid][Iskustvo], PI[playerid][SatiIgre], PI[playerid][Poreklo], PI[playerid][Godine],
PI[playerid][Pol], PI[playerid][Skin], PI[playerid][Clan], PI[playerid][Lider], PI[playerid][Rank], PI[playerid][Kuca], PI[playerid][Stan],
PI[playerid][Vikendica], PI[playerid][Firma], PI[playerid][JFirma], PI[playerid][Garaza], PI[playerid][Hotel], PI[playerid][Auto1], PI[playerid][Auto2],
PI[playerid][Motor], PI[playerid][Bicikla], PI[playerid][Plovilo], PI[playerid][Letelica], PI[playerid][Zatvoren], PI[playerid][ZatvorenVreme],
PI[playerid][Utisan], PI[playerid][Opomenut], PI[playerid][KaznjenPuta], PI[playerid][Telefon], PI[playerid][Mobilni], PI[playerid][KreditMobilni],
PI[playerid][SakrivanjeBroja], PI[playerid][MozeDaGasiMobilni], PI[playerid][MozeDaGasiSapat], PI[playerid][MozeDaGasiFamily], PI[playerid][DozvolaOruzje],
PI[playerid][DozvolaVoznja], PI[playerid][DozvolaPlovidba], PI[playerid][DozvolaLetenje], PI[playerid][Droga], PI[playerid][IznosRate], PI[playerid][IznosKredita],
PI[playerid][PreostaloZaOtplatu], PI[playerid][Posao], PI[playerid][IRCAdmin], PI[playerid][IRCSoba], PI[playerid][IRCSobaAdmin], PI[playerid][PayDayPoeni],
PI[playerid][TimUgovor], PI[playerid][KaznaUgovor], PI[playerid][UBraku], PI[playerid][UBrakuSa],PI[playerid][Ubistava], PI[playerid][Smrti], PI[playerid][Zlocini], PI[playerid][UhapsenPuta],
PI[playerid][TrazeniNivo], PI[playerid][Dolazak],PI[playerid][Religija], PI[playerid][Kartica], PI[playerid][StariPosao], PI[playerid][Spawn], PI[playerid][Zavezan],
PI[playerid][PosaoUgovor], PI[playerid][MehanicarOdvoz], PI[playerid][DzeparosVreme], PI[playerid][KradljivacVreme], PI[playerid][DetektivVreme], PI[playerid][DetektivSkill],
PI[playerid][Ucena], PI[playerid][DatumRegistracije], PI[playerid][PoslednjaAktivnost], PI[playerid][MestoUOrg], PI[playerid][Renta], PI[playerid][RentaHotel],
PI[playerid][RegProces], PI[playerid][GPS], PI[playerid][Frizura], PI[playerid][BorbeniStil], PI[playerid][KarticaPin], PI[playerid][MobilniMarka], PI[playerid][MobilniMreza],
Stvari[playerid][zTorba], Stvari[playerid][zDroga], Stvari[playerid][zPizza], Stvari[playerid][zZice], Stvari[playerid][zKanister], Stvari[playerid][zSemena], Stvari[playerid][zKoka],
Stvari[playerid][zGDOruzje], Stvari[playerid][zGDProdaja], Stvari[playerid][zUze], Stvari[playerid][zCigare], Dzep[playerid][xDroga], Dzep[playerid][xZice],
Dzep[playerid][xKoka], Dzep[playerid][xSemena], Dzep[playerid][xUze], Dzep[playerid][xNaocare], Dzep[playerid][xImenik], Dzep[playerid][xCigare], Dzep[playerid][xUpaljac], ydata,
PI[playerid][AlatZaObijanje],[B] PI[playerid][Helmet], PI[playerid][Minuti1], PI[playerid][Minuti2], PI[playerid][Minuti3], PI[playerid][Minuti4], PI[playerid][Minuti5],
PI[playerid][Minuti6], PI[playerid][Minuti7], PI[playerid][Double], PI[playerid][GOLD], PI[playerid][PIN]);
SetPlayerScore(playerid,PI[playerid][Nivo]);
}