Loading ranks
#3

Sorry! forgot that part:
pawn Код:
LoadFactions(fac)
{
    new LoadString[30 + 8]; // Being Faction Name

    INI_ParseFile(FacPath(fac), "LoadFactions_%s", .bExtra = true, .extra = fac); // Here, it's laoding the faction variables!


    format(LoadString, sizeof(LoadString), ""COL_RED"[Faction]"COL_WHITE"\n%s", FacInfo[fac][fName]);

    FactionLabel[fac] = CreateDynamic3DTextLabel(LoadString, COLOR_YELLOW, FacInfo[fac][ExtX], FacInfo[fac][ExtY], FacInfo[fac][ExtZ], 20.0);
    FactionPickup[fac] = CreatePickup(1239, 1, FacInfo[fac][ExtX], FacInfo[fac][ExtY], FacInfo[fac][ExtZ], 0);
    return 1;
}
Reply


Messages In This Thread
Loading ranks - by Zeppo - 23.03.2014, 20:33
Re: Loading ranks - by newbienoob - 23.03.2014, 20:37
Re: Loading ranks - by Zeppo - 23.03.2014, 20:39
Re: Loading ranks - by newbienoob - 23.03.2014, 20:52
Re: Loading ranks - by Zeppo - 23.03.2014, 20:56
Re: Loading ranks - by newbienoob - 23.03.2014, 20:58
Re: Loading ranks - by Zeppo - 23.03.2014, 21:18
Re: Loading ranks - by newbienoob - 24.03.2014, 12:23

Forum Jump:


Users browsing this thread: 1 Guest(s)