Quote:
Originally Posted by Donya
pawn Код:
stock GetFactionType(playerid) { new type, i, str[64] = "INVALID_FACTION_ID"; i = PlayerInfo[playerid][FactionMember];//change this obviously format(file, sizeof(file), "Factions/%i.ini", i); if(fexist(file)) format(str, sizeof(str), "%s", dini_Get(file, "Type", playerid)); return str; }
|
C:\Users\Bart\Desktop\SampScripting\gamemodes\Sunl ight.pwn(884) : warning 202: number of arguments does not match definition
if(fexist(file)) format(str, sizeof(str), "%s", dini_Get(file, "Type", playerid));