Skip to content

cadburry6969/cad-drugsales

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

This resources allows you to sell drugs to npcs in a zone or anywhere.

Old Preview

Click Here

Features

  • Configurable Sell Zones / Drugs / price / Sell Anywhere
  • NPC Drug sales with target
  • Add as many drugs/zones you want
  • Each zone has its own drug and price
  • You can add multiple drugs to a zone
  • You can sell multiple drugs at once (upon random range)
  • You can sell anywhere if you dont want the zones

Dependencies

  • ox_lib

Exports

-- toggle target on ped (this will toggle allowing/disallowing target even if inside zone)
exports["cad-drugsales"]:ToggleTarget(bool)

-- manually create's target
exports["cad-drugsales"]:CreateTarget()

-- manually remove's target
exports["cad-drugsales"]:RemoveTarget()

How to Use

  • Download latest release and add to resources
  • ensure in server.cfg
  • Change config.lua according to your needs
  • Finish!

Support