# Exports

{% hint style="info" %}
For all exports it is important to use <mark style="color:red;">exports.wise\_faction:</mark> before the export Name
{% endhint %}

## Client

<table><thead><tr><th width="374" align="center">Export</th><th align="center">Arguments</th><th data-hidden>Description </th></tr></thead><tbody><tr><td align="center">inFFA() => <mark style="color:red;"><code>boolean</code></mark></td><td align="center"><mark style="color:red;"><code>none</code></mark></td><td></td></tr><tr><td align="center">inGangwar() => <mark style="color:red;"><code>boolean</code></mark></td><td align="center"><mark style="color:red;"><code>none</code></mark></td><td></td></tr><tr><td align="center">getFaction() => <mark style="color:red;"><code>string</code></mark></td><td align="center"><mark style="color:red;"><code>none</code></mark></td><td></td></tr><tr><td align="center">getFactionRank() => <mark style="color:red;"><code>string</code></mark></td><td align="center"><mark style="color:red;"><code>none</code></mark></td><td></td></tr><tr><td align="center">getFactionLevel() => <mark style="color:red;"><code>integer</code></mark></td><td align="center"><mark style="color:red;"><code>none</code></mark></td><td></td></tr><tr><td align="center">getFactionXP() => <mark style="color:red;"><code>integer</code></mark></td><td align="center"><mark style="color:red;"><code>none</code></mark></td><td></td></tr></tbody></table>

## Server

<table><thead><tr><th width="407.3333333333333" align="center">Export</th><th align="center">Arguments</th><th data-hidden>Description </th></tr></thead><tbody><tr><td align="center">getPlayerFaction(playerId) => <mark style="color:red;"><code>Faction</code></mark></td><td align="center">playerId => <mark style="color:red;"><code>integer</code></mark></td><td></td></tr><tr><td align="center">getFaction(factionName) => <mark style="color:red;"><code>Faction</code></mark></td><td align="center">factionName => <mark style="color:red;"><code>string</code></mark></td><td></td></tr><tr><td align="center">getFactionLevel(factionName) => <mark style="color:red;"><code>integer</code></mark></td><td align="center">factionName => <mark style="color:red;"><code>string</code></mark></td><td></td></tr><tr><td align="center">getFactionXP(factionName) => <mark style="color:red;"><code>integer</code></mark></td><td align="center">factionName => <mark style="color:red;"><code>string</code></mark></td><td></td></tr><tr><td align="center">addFactionXP(factionName, amount) => <mark style="color:red;"><code>void</code></mark></td><td align="center">factionName => <mark style="color:red;"><code>string</code></mark><br>amount => <mark style="color:red;"><code>integer</code></mark></td><td></td></tr></tbody></table>
