Client Exports
REMEMBER ABOUT CLIENT SIDE AND SERVER SIDE IN CHOOSING EXPORT!
TalkWithPed
Use following export to talk with ped and open drug sale menu
MENU WILL ONLY OPEN IF YOU ARE IN SALE ZONE!
exports['p_plants']:TalkWithPed(entity)entity:
numberExisting networked ped
toggleAddictionMenu
With following export you can toggle addiction menu
exports['p_plants']:toggleAddictionMenu(state)state:
boolean
initAddiction
With following export you can init some addiction [for increasing addiction]
exports['p_plants']:initAddiction(name)name:
stringAddiction name from config
initEffect
This export will init some drug effect from config
exports['p_plants']:initEffect(name)name:
stringEffect name from config
toggleManagePlants
This export will toggle manage plants menu [required permissions from config]
exports['p_plants']:toggleManagePlants(state)state:
boolean
drugsStats
This export will show up Drug Sales Statistics Menu
exports['p_plants']:drugsStats()Last updated