Peuren
  • 🏠Home
  • Store
  • Discord
  • 🛠️PEUREN_LIB
    • 📩Installation
    • ⚙️Configuration
  • 🔏PEUREN_BURGLARY
    • 📩Installation
    • ⚙️Configuration
      • Basic Configuration
      • Dealers
      • Skills
      • Pawnshop
      • Shells
      • Rewards
  • 🎣PEUREN_FISHING
    • 📩Installation
    • ⚙️Configuration
      • Fishing Rods
      • Baits
      • Skills
      • Shops
  • 🚘PEUREN_CHOPSHOP
    • 📩Installation
    • ⚙️Configuration
      • Basic Configuration
      • Dealers
      • Skills
      • Pawnshops
      • Locations
      • Rewards
  • 💰 PEUREN_GRUPPE6
    • 📩Installation
    • ⚙️Configuration
      • Locations
      • Job ranks
      • Job center
      • Basic Configuration
    • 💻Exports and Events
      • UI
      • Job rank
  • 📫 PEUREN_DELIVERIES
    • 📩Installation
    • ⚙️Configuration
      • Locations
      • Job ranks
      • Job center
      • Basic Configuration
    • 💻Exports and Events
      • UI
      • Job rank
  • 🚜 PEUREN_FARMERJOB
    • 📩Installation
    • ⚙️Configuration
      • Job center
      • Basic Configuration
      • Job ranks
    • 💻Exports and Events
      • UI
      • Job rank
  • ⛏️ PEUREN_MINERJOB
    • 📩Installation
    • ⚙️Configuration
      • Job center
      • Basic Configuration
      • Job ranks
    • 💻Exports and Events
      • UI
      • Job rank
  • 💀PEUREN_GANGS
    • 📩Installation
    • ⚙️Configuration
      • Config
      • Dealers
      • Contracts
      • Graffities
      • Upgrades
      • Zones
    • 💻Exports
  • PEUREN_GARBAGEJOB
    • 📩Installation
    • ⚙️Configuration
      • Job center
      • Basic Configuration
      • Recycling job
      • Collection job
  • 🥦PEUREN_DRUGS
    • 📩Installation
    • ⚙️Configuration
      • Config
      • Cocaine & Crack
      • Meth
      • Weed
      • Oxy
      • Drug labs
      • Effects
      • Burner phone contacts
      • Money laundering
      • Burner phone
      • Selling
      • Props
      • Reputation
      • Skills
Powered by GitBook
On this page
  • Server-Side
  • Events
  • Client-Side
  • Exports
  1. PEUREN_GANGS

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

PreviousZonesNextInstallation

Last updated 1 year ago

💀
💻