-
Couldn't load subscription status.
- Fork 77
nut.faction
Brian edited this page Jun 11, 2015
·
2 revisions
This library helps you to handle/register new factions on your schema.
Customizing Your Schema: Adding Factions
nut.faction.teams- Stores the list of the factions. This table's key is numeric and increment.
nut.faction.indices- Stores the list of the factions. This table's key value is not numeric. You can't use ipairs on this table.
nut.faction.loadFromDir(directory)- An internal function to load all factions.
nut.faction.hasWhitelist(faction)- A client-side function to determine if the local player has access to a certain faction.