13.06.2011, 17:11
Hey everyone. I want to combine my two stocks. I don't know how to do this.
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.
pawn Код:
stock GetPlayerFaction(playerid)
{
return PlayerInfo[playerid][FactionMember];
}
stock GetFactionType(playerid)
{
format(file,sizeof(file),FACTIONS);
if(!fexist(file))
{
dini_Get(file,"Type",type);
}
}
I made them myself with someones help btw.