getFractions
local returnedTable = exports["RiP-Fraktion"]:getFractions()
This function returns all fractions
Returned Table
Name | Type | Explenation |
---|---|---|
name | string | Fraction name |
owner | string | Owner identifier |
label | string | Fraction label |
coords | string/object | All coords |
wallet | integer | Wallet balance |
storage | table | Fraction storage |
daymsg | string | Message of the day |
menu | object | X-Menu permissions |
wallet | integer | Wallet balance |
upgrades | object | Upgrade level |
Example
local fractions = exports["RiP-Fraktion"]:getFractions()
for r,p in pairs(fractions) do
print(p.name)
end