Dealers
Guide for editing or adding additional dealers to the resource
Editing the pre-configured dealers
This file can be located in peuren_burglary\shared\sh_main.lua.
Config.Dealers = {
["basic"] = {
GlobalCooldown = { min = 20, sec = 5 },--Dealers cooldown
PersonalCooldown = { min = 25, sec = 10 },--Your personal cooldown with the dealer
Dealer = {
name = 'Basic dealer',--Dealers name
model = 'a_m_m_eastsa_02',--Dealers ped model, model names can be found @ https://docs.fivem.net/docs/game-references/ped-models/
pos = vec3(1515.5446, -2137.5049, 75.7),--Dealers positions
heading = 172.1174,--Dealers heading
animation = {--This controls dealer animation, if you don't want this, make it to: animation = false
--Supported anim data format:
-- anim = ''
-- dict = ''
-- scenario = ''
--Examples:
-- anim = 'missexile3'
-- dict = 'ex03_dingy_search_case_base_michael'
scenario = 'WORLD_HUMAN_SMOKING'
}
},
AvailableHouses = {
['trailer'] = 0,--Minimum reputation level required to get this type of houses, ['shel type name'] = min rep required
['small'] = 10,--Minimum reputation level required to get this type of houses, ['shel type name'] = min rep required
['medium'] = 20--Minimum reputation level required to get this type of houses, ['shel type name'] = min rep required
},
RequiredRep = {
["warehouse"] = 0,--How much reputation level you need have with this dealer so basic dealer becomes available
["exclusive"] = 0,--How much reputation level you need have with this dealer so basic dealer becomes available
}
},
--The same configuration is followed for all the dealers
}Adding new dealers
This file can be located in peuren_burglary\shared\sh_main.lua.
You can create additional dealers by following this template and adding them inside the Config.Dealers
New Dealer Template
Adding it to the other dealers
To add your new dealer to the resource just put it in the Config.Dealers like the example below.
Dealer Reputation
This file can be located in peuren_burglary\shared\sh_main.lua.
Dealer Tasks
This file can be located in peuren_burglary\shared\sh_tasks.lua.
You can edit the pre-configured tasks or add new tasks by following the examples
Last updated