Whats wrong?
#4

Your problem is in the loading of the businesses.

Something like this should be more applicable:

pawn Код:
for(new i = 0; i != MAX_BIZNISA; i++)
    {
            new INI:bFile = INI_Open(BiznisPath(playerid));
            INI_SetTag(bFile,"data");
            INI_WriteInt(bFile,"Ime",BiznisInfo[i][Name]);
            INI_WriteInt(bFile,"Owner",BiznisInfo[i][Owner]);
            INI_WriteInt(bFile,"Pozicija",BiznisInfo[i][Pozicija]);
            INI_WriteInt(bFile,"Interijer",BiznisInfo[i][Interijer]);
            INI_WriteInt(bFile,"Zakljucan",BiznisInfo[i][Zakljucan]);
            INI_WriteInt(bFile,"Cijena",BiznisInfo[i][Cijena]);
            INI_Close(bFile);  
    }
Like I said, SOMETHING like this should work. Not entirely sure if that will since I don't know how you have coded anything

// edit

Might not work - but follow that style of template and adjust as you see fit
Reply


Messages In This Thread
Whats wrong? - by NoDi522 - 27.04.2015, 17:19
Re: Whats wrong? - by Azula - 27.04.2015, 17:19
Re: Whats wrong? - by NoDi522 - 27.04.2015, 17:21
Re: Whats wrong? - by sammp - 27.04.2015, 17:44

Forum Jump:


Users browsing this thread: 1 Guest(s)