Skip to content

lalBi94/-OLD-krp_drugs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Functions client/

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


Triggers server/

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


Credits

Owner : Zod#8682
Language : French
You can contact me on discord at any time