💻Exports

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

Server-Side

Events

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.

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.

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

exports["peuren_gangs"]:GetZoneThatIsIn()

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

Last updated