Stock help
#10

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));
Reply


Messages In This Thread
Stock help - by bartje01 - 13.06.2011, 17:11
Re: Stock help - by Lorrden - 13.06.2011, 17:19
Re: Stock help - by bartje01 - 13.06.2011, 17:21
Re: Stock help - by Lorrden - 13.06.2011, 17:29
Re: Stock help - by bartje01 - 13.06.2011, 17:50
Re: Stock help - by bartje01 - 13.06.2011, 18:50
Re: Stock help - by Donya - 13.06.2011, 19:02
Re: Stock help - by futuretrucker - 13.06.2011, 19:03
Re: Stock help - by Donya - 13.06.2011, 19:08
Re: Stock help - by bartje01 - 13.06.2011, 19:16

Forum Jump:


Users browsing this thread: 2 Guest(s)