Bizz save problem
#9

Quote:
Originally Posted by N0FeaR
Посмотреть сообщение
This one is the save. i use it on public OnPropUpdate()

pawn Код:
idx = 0;
    while (idx < sizeof(BizzInfo))
    {
        new coordsstring[256];
        format(coordsstring, sizeof(coordsstring), "%s,%d,%d,%d,%f,%f,%f,%f,%f,%f,%s,%d,%d,%d,%d\n",
        BizzInfo[idx][bName],
        BizzInfo[idx][bLock],
        BizzInfo[idx][bHours],
        BizzInfo[idx][bPrice],
        BizzInfo[idx][bEnterX],
        BizzInfo[idx][bEnterY],
        BizzInfo[idx][bEnterZ],
        BizzInfo[idx][bExitX],
        BizzInfo[idx][bExitY],
        BizzInfo[idx][bExitZ],
        BizzInfo[idx][bOwner],
        BizzInfo[idx][bOwned],
        BizzInfo[idx][bInterior],
        BizzInfo[idx][bType],
        BizzInfo[idx][bMoney]);
        if(idx == 0)
        {
            file2 = fopen("bizz.cfg", io_write);
        }
        else
        {
            file2 = fopen("bizz.cfg", io_append);
        }
        fwrite(file2, coordsstring);
        idx++;
        fclose(file2);

Ok,This what I ment I told you where is the original biz system what I mean the biz system code,this is the saving system can you give the original biz system?


Sorry for not making you understanding what I'm saying but just my english is bad I ain't a english person.
Reply


Messages In This Thread
Bizz save problem - by N0FeaR - 08.10.2012, 17:25
Re: Bizz save problem - by HyDrAtIc - 08.10.2012, 17:26
Re: Bizz save problem - by N0FeaR - 08.10.2012, 17:27
Re: Bizz save problem - by HyDrAtIc - 08.10.2012, 17:29
Re: Bizz save problem - by N0FeaR - 08.10.2012, 17:32
Re: Bizz save problem - by Red_Dragon. - 08.10.2012, 17:33
Re: Bizz save problem - by HyDrAtIc - 08.10.2012, 17:35
Re: Bizz save problem - by N0FeaR - 08.10.2012, 17:35
Re: Bizz save problem - by HyDrAtIc - 08.10.2012, 17:40
Re: Bizz save problem - by N0FeaR - 08.10.2012, 17:42

Forum Jump:


Users browsing this thread: 1 Guest(s)