27.04.2015, 17:44
Your problem is in the loading of the businesses.
Something like this should be more applicable:
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
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);
}
// edit
Might not work - but follow that style of template and adjust as you see fit