> For the complete documentation index, see [llms.txt](https://peuren.gitbook.io/peuren/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://peuren.gitbook.io/peuren/peuren_gangs/exports.md).

# Exports

Various exports and events that you can use to customize your experience with our Gangs resource

## Server-Side

### Events

```lua
peuren_gangs:zones:addInfluence(zoneName, amount)
```

Adds or removes influence in the given zone. Retrieve the zone name by using the GetZoneThatIsIn export. To remove influence set the amount to a negative value.

```lua
peuren_gangs:tasks:registerProgress(playerId, taskEvent, progressAmount)
```

Add or remove progress to a task. The taskEvent can be found in the sh\_dealers.lua, in the tasks section of each dealer and can be configured/created hower you like.

```lua
peuren_gangs_tasks:clientRegisterProgress(taskEvent, progressAmount)
```

The same as registerProgress event, but is supposed to be used from the client-side, hence the playerId argument gone.

## Client-Side

### Exports

```lua
exports["peuren_gangs"]:GetZoneThatIsIn()
```

Returns the data of the zone the player is in. Returns false if player is not in the zone
