Skip to content

Drugs: command reference ​

All command areas · Generated from maintained Pawn source. See staff permissions for rank values.

Commands in this area ​

/buysupplies · /cartrunkstoredrug · /ctsdrug · /dropdrug · /drugcollect · /drugcook · /drugforcefinish · /drugmerge · /drugpass · /drugproduce · /drugsetparam · /drugsetstage · /drugsetticks · /drugsetup · /drugsnear · /drugsplit · /drugsuppliergoto · /drugsupplies · /drugwater · /factionresetperkcd · /givedrugs · /mydrugs · /passdrug · /passdrugs · /passdrugsupplies · /passsupplies · /passsupply · /spoofdrug · /spoofdrugstation

/buysupplies ​

/buysupplies - opens the supplier menu at a cartel location.

Source: gamemodes/drugs/cartel/list.pwn:9.

/cartrunkstoredrug ​

/cartrunkstoredrug [trunk slot] [drug slot] - puts one of your drugs into a vehicle trunk (alias /ctsdrug).

Source: gamemodes/drugs/vehicle.pwn:15.

Messages / syntax taken from the handler:

text
/cartrunkstoredrug (/ctsdrug) [slot: (0-9)] [drug-slot: /mydrugs]

/ctsdrug ​

Alias of /cartrunkstoredrug.

Source: gamemodes/drugs/vehicle.pwn:8.

/dropdrug ​

/dropdrug [slot] - drops a drug you carry on the ground.

Source: gamemodes/drugs/header.pwn:465.

Messages / syntax taken from the handler:

text
/dropdrug [slot] (use /mydrugs to see your slots)

/drugcollect ​

/drugcollect [id] [container] [amount] - collects the finished product into a container.

Source: gamemodes/drugs/header.pwn:415.

Messages / syntax taken from the handler:

text
/drugcollect [id] [container] [amount]

/drugcook ​

Alias of /drugproduce.

Source: gamemodes/drugs/header.pwn:370.

/drugforcefinish ​

/drugforcefinish [index] - (developer) finishes a plant/lab immediately.

Source: gamemodes/drugs/dev.pwn:197.

Messages / syntax taken from the handler:

text
/drugforcefinish [index]

Staff constants referenced: ADMIN_LVL_MANAGER. These are not a complete access rule; check the condition and any called helper.

/drugmerge ​

Source: gamemodes/drugs/header.pwn:192.

Messages / syntax taken from the handler:

text
/drugmerge [slot1] [slot2]

/drugpass ​

/drugpass [player] [slot] - gives one of your drugs to a nearby player.

Source: gamemodes/drugs/player/manage.pwn:22.

Messages / syntax taken from the handler:

text
/drugpass [targetid] [slot]

/drugproduce ​

/drugproduce [id] - starts producing at a plant/lab you are next to.

Source: gamemodes/drugs/header.pwn:376.

Messages / syntax taken from the handler:

text
/drugproduce [id] (/drugwater, /drugcook)

/drugsetparam ​

/drugsetparam [index] [param] - (developer) changes a plant/lab's variety.

Source: gamemodes/drugs/dev.pwn:233.

Messages / syntax taken from the handler:

text
/drugsetparam [index] [param]

Staff constants referenced: ADMIN_LVL_MANAGER. These are not a complete access rule; check the condition and any called helper.

/drugsetstage ​

/drugsetstage [index] [stage] - (developer) changes a plant/lab's growth stage.

Source: gamemodes/drugs/dev.pwn:264.

Messages / syntax taken from the handler:

text
/drugsetstage [index] [stage]

Staff constants referenced: ADMIN_LVL_MANAGER. These are not a complete access rule; check the condition and any called helper.

/drugsetticks ​

/drugsetticks [index] [ticks] - (developer) sets how far along a plant/lab is.

Source: gamemodes/drugs/dev.pwn:160.

Messages / syntax taken from the handler:

text
/drugsetticks [index] [ticks]

Staff constants referenced: ADMIN_LVL_MANAGER. These are not a complete access rule; check the condition and any called helper.

/drugsetup ​

/drugsetup [weed/coke/crack/meth] [slot] - plants seeds or sets up a lab using one of your supplies.

Source: gamemodes/drugs/header.pwn:285.

Messages / syntax taken from the handler:

text
/drugsetup [weed/coke/crack/meth] [slot] (/drugsupplies)
Drugs/DrugSetup Creation
Param error: /drugsetup [weed/coke/crack/meth] [slot] (/drugsupplies)

/drugsnear ​

/drugsnear - tells you which drug plant/lab id is next to you.

Source: gamemodes/drugs/header.pwn:88.

/drugsplit ​

/drugsplit [slot] [container] [amount] - splits some of a drug into another container.

Source: gamemodes/drugs/player/manage.pwn:102.

Messages / syntax taken from the handler:

text
/drugsplit [slot] [container] [amount]

/drugsuppliergoto ​

/drugsuppliergoto [id] - (developer) teleports to a supplier location.

Source: gamemodes/drugs/dev.pwn:10.

Messages / syntax taken from the handler:

text
/drugsuppliergoto [id]

Staff constants referenced: ADMIN_LVL_MANAGER. These are not a complete access rule; check the condition and any called helper.

/drugsupplies ​

/drugsupplies - lists the drug supplies you carry (weed, cocaine, crack, meth).

Source: gamemodes/drugs/cartel/player.pwn:9.

/drugwater ​

Alias of /drugproduce.

Source: gamemodes/drugs/header.pwn:365.

/factionresetperkcd ​

/factionresetperkcd [faction id] [type] - (staff) resets a faction's supplier cooldown.

Source: gamemodes/drugs/cartel/list.pwn:162.

Messages / syntax taken from the handler:

text
/factionresetperkcd [id]

Staff constants referenced: ADMIN_LVL_SENIOR. These are not a complete access rule; check the condition and any called helper.

/givedrugs ​

Alias of /drugpass.

Source: gamemodes/drugs/player/manage.pwn:7.

/mydrugs ​

/mydrugs - lists the drugs you carry.

Source: gamemodes/drugs/header.pwn:103.

/passdrug ​

Alias of /drugpass.

Source: gamemodes/drugs/player/manage.pwn:16.

/passdrugs ​

Alias of /drugpass.

Source: gamemodes/drugs/player/manage.pwn:11.

/passdrugsupplies ​

/passdrugsupplies [player] [type] [slot] - hands a supply to a member of your faction.

Source: gamemodes/drugs/cartel/player.pwn:109.

Messages / syntax taken from the handler:

text
/passdrugsupplies [player] [weed/coke/crack/meth] [slot] (/drugsupplies)

/passsupplies ​

Alias of /passdrugsupplies.

Source: gamemodes/drugs/cartel/player.pwn:106.

/passsupply ​

Alias of /passdrugsupplies.

Source: gamemodes/drugs/cartel/player.pwn:105.

/spoofdrug ​

/spoofdrug - (developer) gives yourself a drug of a type and amount for testing.

Source: gamemodes/drugs/dev.pwn:37.

Messages / syntax taken from the handler:

text
/spoofdrug [1: weed, 2: cocaine, 3: crack] [subtype 1-4] [container type 0-8] [amount]

Staff constants referenced: ADMIN_LVL_MANAGER. These are not a complete access rule; check the condition and any called helper.

/spoofdrugstation ​

/spoofdrugstation [type] - (developer) creates a drug station for testing.

Source: gamemodes/drugs/dev.pwn:118.

Messages / syntax taken from the handler:

text
/spoofdrugstation [1: weed, 2: cocaine, 3: crack]
Drugs/SpoofDrugStation Creation

Staff constants referenced: ADMIN_LVL_MANAGER. These are not a complete access rule; check the condition and any called helper.

Open-source roleplay foundations for open.mp. Bring your own world.