Stock help
#1

Hey everyone. I want to combine my two stocks. I don't know how to do this.

pawn Код:
stock GetPlayerFaction(playerid)
{
 return PlayerInfo[playerid][FactionMember];
}

stock GetFactionType(playerid)
{
    format(file,sizeof(file),FACTIONS);
    if(!fexist(file))
    {
        dini_Get(file,"Type",type);
    }
}
Now I want that I can get the Faction Type of the player his faction. How would I do this with these stocks?
I made them myself with someones help btw.
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: 1 Guest(s)