Contracts

How to add a contract into the gang app ?

You can add any heist resource to the gang app contracts.

  • If the heist script is open source then you can start it with the gang group.

  • If the heist script is not open source then you need to start it solo from the gang app.

  • All zat heists works with the gang app.

How To add a contract in the gang script ?
  • 1 - Under config.lua you will find the Config.Contracts, example :

  • 2 - Once the player buys the contract, then he must head to the npc to start the contract from, here are the exports you can use on the heist / contract script : client exports :

    server exports :

  • 3 - All you have to do is to add a condition to start the mission. example :

Check if there is a contract bought of roofrunning or not, then check if the client is member or not of the contract then start it.

Last updated