drp_drug(drug, action)
Arguments :
drug = Config.nameOfYourDrug (STRING) action = {"recolt", "treatment", "sell"} (STRING)
Info : Function that manages the client/server connection
remove(anim)
Argument :
anim = Config.anim.{"recolt", "treatment", "sell"}.animation (STRING)
Info : Function that stops an animation
There are 3 different triggers per drug:
RegisterNetEvent("Zod#8682::recoltYourDrug")
Manage the action when the player collecting drugs
RegisterNetEvent("Zod#8682::treatYourDrug")
Manage the action when the player transforming drugs
RegisterNetEvent("Zod#8682::selltYourDrug")
Manage the action when the player selling drugs
Owner : Zod#8682
Language : French
You can contact me on discord at any time