09.06.2011, 20:18
(
Last edited by CoaPsyFactor; 09/06/2011 at 08:25 PM.
Reason: Sloved
)
sloved!
stock GetRankName(FactionID, Rank)
{
new str[24], faction_name[24], snum[4];
format(faction_name, sizeof(faction_name), "%s_Ranks.ini", Faction_Infos[FactionID][fFaction_Name]);
valstr(snum, rank);
format(str, sizeof(str), "%s", dini_Get(faction_name, snum));
return str;
}