23.03.2014, 20:39
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;
}