-
-
Save aqade/7e506d9b340ad6a8c80967397692750e to your computer and use it in GitHub Desktop.
apex_heroinrun
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- █████╗ ██████╗ ███████╗██╗ ██╗ ███████╗████████╗██╗ ██╗██████╗ ██╗ ██████╗ ███████╗ | |
--██╔══██╗██╔══██╗██╔════╝╚██╗██╔╝ ██╔════╝╚══██╔══╝██║ ██║██╔══██╗██║██╔═══██╗██╔════╝ | |
--███████║██████╔╝█████╗ ╚███╔╝ ███████╗ ██║ ██║ ██║██║ ██║██║██║ ██║███████╗ | |
--██╔══██║██╔═══╝ ██╔══╝ ██╔██╗ ╚════██║ ██║ ██║ ██║██║ ██║██║██║ ██║╚════██║ | |
--██║ ██║██║ ███████╗██╔╝ ██╗ ███████║ ██║ ╚██████╔╝██████╔╝██║╚██████╔╝███████║ | |
--╚═╝ ╚═╝╚═╝ ╚══════╝╚═╝ ╚═╝ ╚══════╝ ╚═╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═════╝ ╚══════╝ | |
---------------------------------------------------------------------------------------------------- | |
-- ██████╗ ███████╗███╗ ██╗███████╗██████╗ █████╗ ██╗ ███████╗███████╗████████╗████████╗██╗███╗ ██╗ ██████╗ ███████╗ | |
--██╔════╝ ██╔════╝████╗ ██║██╔════╝██╔══██╗██╔══██╗██║ ██╔════╝██╔════╝╚══██╔══╝╚══██╔══╝██║████╗ ██║██╔════╝ ██╔════╝ | |
--██║ ███╗█████╗ ██╔██╗ ██║█████╗ ██████╔╝███████║██║ ███████╗█████╗ ██║ ██║ ██║██╔██╗ ██║██║ ███╗███████╗ | |
--██║ ██║██╔══╝ ██║╚██╗██║██╔══╝ ██╔══██╗██╔══██║██║ ╚════██║██╔══╝ ██║ ██║ ██║██║╚██╗██║██║ ██║╚════██║ | |
--╚██████╔╝███████╗██║ ╚████║███████╗██║ ██║██║ ██║███████╗ ███████║███████╗ ██║ ██║ ██║██║ ╚████║╚██████╔╝███████║ | |
-- ╚═════╝ ╚══════╝╚═╝ ╚═══╝╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝ ╚══════╝╚══════╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═════╝ ╚══════╝ | |
Config = {} | |
Config.Debug = false | |
--███████╗███████╗████████╗████████╗██╗███╗ ██╗ ██████╗ ███████╗ | |
--██╔════╝██╔════╝╚══██╔══╝╚══██╔══╝██║████╗ ██║██╔════╝ ██╔════╝ | |
--███████╗█████╗ ██║ ██║ ██║██╔██╗ ██║██║ ███╗███████╗ | |
--╚════██║██╔══╝ ██║ ██║ ██║██║╚██╗██║██║ ██║╚════██║ | |
--███████║███████╗ ██║ ██║ ██║██║ ╚████║╚██████╔╝███████║ | |
--╚══════╝╚══════╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═════╝ ╚══════╝ | |
Config.Features = { | |
Requirements = { | |
PoliceRequired = false, | |
PoliceAmount = 0, | |
PoliceJobs = {'police'}, -- Add more like this: {'police', 'sheriff'} | |
Mask = true, | |
}, | |
Availability = { | |
Enabled = true, -- If set to false, run will also be availeblity | |
From = 20, -- In game time -- 20 = 8pm | |
To = 8, -- In game time -- 8 = 8am | |
}, | |
PedSettings = { | |
Model = 's_m_y_dealer_01', | |
Scenario = 'WORLD_HUMAN_CLIPBOARD', | |
Target = { | |
points = vector3(-1101.55, 2722.17, 18.8), | |
heading = 5.24, | |
minZ = 18.8-1.0, | |
maxZ = 18.8+0.8, | |
size = {0.8, 0.8}, | |
distance = 2.0, | |
}, | |
Blip = {enabled = true, sprite = 51, color = 21, size = 0.8, name = "Heroin Run"}, | |
Cost = { | |
Price = 0, -- Set this to 0 if you want it to be free | |
Account = 'cash', | |
--[[ | |
- qbcore: cash or bank | |
- esx: money or bank | |
]]-- | |
}, | |
}, | |
Pickup = { | |
Blip = {sprite = 478, color = 21}, | |
RecipeAndIngredients = { | |
Scenery = { | |
Props = { | |
PlaneProp = true, | |
PlanePropSettings = { | |
model = 'apa_mp_apa_crashed_usaf_01a', | |
coords = vector3(288.87, 6894.65, 5.74), | |
heading = 158.18, | |
}, | |
CrateProp = true, | |
CratePropSettings = { | |
model = 'sm_prop_smug_crate_s_narc', | |
coords = vector3(295.42, 6891.95, 5.44), | |
heading = 220.0, | |
placeonground = true, | |
}, | |
}, | |
Target = {-- This target needs to be the same as the CrateProp above or the target will not fit the box, unless you are using something else. | |
points = vector3(295.42, 6891.95, 5.44), | |
heading = 220.0, | |
minZ = 5.44-1.0, | |
maxZ = 5.44+0.6, | |
size = {1.0, 1.0}, | |
distance = 3.0, | |
}, | |
}, | |
PickupItems = { | |
RecipeItem = 'recipe_heroin', | |
RecipeAmount = 1, | |
Ingredients1 = 'hydrochloricacid', | |
Ingredients1Amount = 10, | |
Ingredients2 = 'cement_powder', | |
Ingredients2Amount = 5, | |
}, | |
}, | |
Tools = { | |
Scenery = { | |
PropsEnabled = true, | |
Props = { | |
CrateProp = true, | |
CratePropSettings = { | |
model = 'sm_prop_smug_crate_s_antiques', | |
coords = vector3(2542.01, 366.21, 108.61), | |
heading = 270.0, | |
}, | |
}, | |
Target = { | |
points = vector3(2542.01, 366.21, 108.61), | |
heading = 270.0, | |
minZ = 108.61-1.0, | |
maxZ = 108.61, | |
size = {1.0, 1.2}, | |
distance = 3.0, | |
}, | |
}, | |
ToolItems = { | |
Tool1 = 'drugscale', | |
Tool1Amount = 1, | |
Tool2 = 'drugkit', | |
Tool2Amount = 1, | |
Tool3 = 'zipbags', | |
Tool3Amount = 10, -- This should be the same amount as the breakdown amount | |
}, | |
RemoveOnUse = true, | |
}, | |
}, | |
MakeBrick = { | |
Duration = 240, -- In seconds | |
Item = 'heroin', | |
Amount = 1, | |
Target = { | |
{ | |
points = vector3(-1365.83, -320.3, 39.55), | |
heading = 29.0, | |
minZ = 39.55-0.5, | |
maxZ = 39.55+0.2, | |
size = {2.55, 1.2}, | |
distance = 2.0, | |
}, | |
{ | |
points = vector3(-1367.1, -318.08, 39.56), | |
heading = 29.0, | |
minZ = 39.56-0.5, | |
maxZ = 39.56+0.2, | |
size = {2.55, 1.2}, | |
distance = 2.0, | |
}, | |
{ | |
points = vector3(-1368.37, -315.85, 39.6), | |
heading = 29.0, | |
minZ = 39.6-0.5, | |
maxZ = 39.6+0.2, | |
size = {2.55, 1.2}, | |
distance = 2.0, | |
}, | |
} | |
}, | |
Breakdown = { | |
Duration = 480, -- In seconds | |
Item = 'heroin_baggy', | |
Amount = 10, | |
Target = { | |
{ | |
points = vector3(-1371.25, -313.75, 39.61), | |
heading = 299.0, | |
minZ = 39.61-0.5, | |
maxZ = 39.61+0.2, | |
size = {2.55, 1.2}, | |
distance = 2.0, | |
}, | |
{ | |
points = vector3(-1373.99, -311.74, 39.63), | |
heading = 29.0, | |
minZ = 39.63-0.5, | |
maxZ = 39.63+0.2, | |
size = {2.55, 1.2}, | |
distance = 2.0, | |
}, | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment