Problem with business load system
#6

Well, and so?

PHP код:
stock LoadBusiness()
{
    new 
str[40];
    new 
sa[128];
    for(new 
id 0id MAX_BUSINESSid++)
    {
        
format(strsizeof(str), "Bizovi\%d"id);
        print(
str);
        if(
dini_Exists(str))
        {
            
printf("'str' exists");
            
bInfo[id][bX] = dini_Float(str"PosX");
            
bInfo[id][bY] = dini_Float(str"PosY");
            
bInfo[id][bZ] = dini_Float(str"PosZ");
            
bInfo[id][bOwner] = dini_Int(str"Vlasnik");
            
bInfo[id][bPrice] = dini_Int(str"Cijena");
            
bInfo[id][bOwned] = dini_Int(str"Kupljen");
            
bInfo[id][bName] = dini_Int(str"Ime");
            
bInfo[id][bMoney] = dini_Int(str"Kasa");
            
format(sasizeof(sa), "Ime firme:%s\nVlasnik firme:%s\nCijena:%i\nPare u kasi:%i"bInfo[id][bName], bInfo[id][bOwner], bInfo[id][bPrice], bInfo[id][bMoney]);
            
Create3DTextLabel(sa0x008080FFbInfo[id][bX], bInfo[id][bY], bInfo[id][bZ], 40.000);
            
printf("bX: %f - bY: %f - bZ: %f",bInfo[id][bX],bInfo[id][bY],bInfo[id][bZ]);
        }
    }
    return 
1;

- Mencent
Reply


Messages In This Thread
Problem with business load system - by andrejc999 - 22.06.2015, 23:40
Re: Problem with business load system - by X337 - 23.06.2015, 02:18
Re: Problem with business load system - by andrejc999 - 23.06.2015, 14:55
AW: Problem with business load system - by Mencent - 23.06.2015, 14:58
Re: Problem with business load system - by andrejc999 - 23.06.2015, 15:06
AW: Problem with business load system - by Mencent - 23.06.2015, 15:11
Re: Problem with business load system - by andrejc999 - 23.06.2015, 15:12
Re: Problem with business load system - by andrejc999 - 23.06.2015, 15:15
Re: Problem with business load system - by andrejc999 - 23.06.2015, 19:35

Forum Jump:


Users browsing this thread: 3 Guest(s)