02.02.2014, 09:33
It's already above!
pawn Код:
public IsLaw(playerid)
{
if (0 <= active_character[playerid] < 25)
{
new slot = GetFactionSlot(CharacterInfo[playerid][active_character[playerid]][cFaction]);
if(slot > -1 && FactionInfo[slot][fType] == FAC_TYPE_LAW) return true;
}
return false;
}