y-ini loading help
#4

Not sure if it has any impact but you could use Misiur's method and beside that you could try changing
pawn Код:
%d
to
pawn Код:
%i
Here's my method of loading groups:
pawn Код:
for(new idy = 1; idy < sizeof(GroupInfo); idy++)
    {
        new gname[250];
        format(str, sizeof(str), GPATH, idy);
        INI_ParseFile(str, "loadgroup_%s", .bExtra = true, .extra = idy);
        GroupInfo[idy][gOutsideIcon] = CreateDynamicPickup(1239, 1, GroupInfo[idy][gHqX], GroupInfo[idy][gHqY], GroupInfo[idy][gHqZ], 0);
        format(gname, sizeof(gname), "%s's HQ\n\nOnly members are allowed.\n\nPress \"Enter\" to access.", GroupInfo[idy][gName]);
        Create3DTextLabel(gname, -1, GroupInfo[idy][gHqX], GroupInfo[idy][gHqY], GroupInfo[idy][gHqZ], 20, 0);
        GroupInfo[idy][gInsideIcon] =  CreateDynamicPickup(1239, 1, GroupInfo[idy][gInsideX], GroupInfo[idy][gInsideY], GroupInfo[idy][gInsideZ], GroupInfo[idy][gInterior]);
    }
Reply


Messages In This Thread
y-ini loading help - by SalmaN97 - 20.11.2015, 23:45
Re: y-ini loading help - by Misiur - 21.11.2015, 00:26
Re: y-ini loading help - by SalmaN97 - 21.11.2015, 01:34
Re: y-ini loading help - by Yochui - 21.11.2015, 07:14
Re: y-ini loading help - by SalmaN97 - 21.11.2015, 11:26

Forum Jump:


Users browsing this thread: 1 Guest(s)