er2.consumeFactionSpending 5
Returns everything the players of this client have spent on births since the last call, and clears the tally. Subtract it from your own synced counter so the spending makes it back to the shared total.
Return value
| Return Type | Description |
|---|---|
| Number | Points spent since the previous call. 0 if nobody was born. |
Parameters
| Parameter | Type | Description |
|---|---|---|
| 1 | string | The faction to collect the spending of. |
Examples
No examples available.
