💊Methruns

Dependencies:
Renewed Lib: https://github.com/Renewed-Scripts/Renewed-Lib/releases/tag/v2.0.7
Faq
Don't see a resource you use in the supported list? That's alright the bride folder is open to add and implement your own resource to work with the script.
Installation
In
shared > client.lua
ensure that on line 5 thatresource
is set to eitherox
for ox_target orqb
for qb-target.if you are using on the qbcore framework ensure the marked line in the
fxmanifest.lua
is removedIf you're on the qbox framework navigate to
qbx_core > server > player.lua
aroundline 630
add the following:
playerData.metadata.kevinmethruns = playerData.metadata.kevinmethruns or 0
If you're on the qbcore framwork navigate to
qb-core > config.lua
aroundlines 66
within themetadata table
add the following:
kevinmethruns = 0,
🎉 Installation Completed. Next step is just customization.
Level Configuration
reputation:
table
Specifying the reputation range required to start this levelmin:
number
Minimum reputation needed.max:
number
Maximum reputation allowed.
gpsDeactivationTime:
number
Duration (in minutes) the GPS remains active before providing drop-off coordinates.gpsDelayTime:
number
Delay (in milliseconds) before the car GPS activates.reputationReward:
number
Reputation points awarded upon completion.moneyReward:
number
Money awarded upon completion.neededItem:
table
specifying the item required to start the runname:
string
Name of the required item.amount:
number
Quantity needed.
deadDropItem:
table
Specifying the item received from the dead drop.name:
string
Name of the item.amount:
number
Quantity received.
attackers:
table
Defining properties of attackers spawned during the run.amount:
number
Number of attackershealth:
number
Health of the attackerarmor:
number
Armor of the attackerragdoll:
boolean
Wether the attackers ragdoll when shot in critical areas on the bodyweapon:
hash
Weapon assigned for the attackeraccuracy:
number
Weapon accuracy for the attackersuffercriticalhits:
boolean
Whether attackers can suffer critical hits about the body
vehicleGuards:
table
Defining properties of guards accompanying the vehicle.ped:
hash
Model of the guard.amount:
number
Number of attackershealth:
number
Health of the attackerarmor:
number
Armor of the attackerragdoll:
boolean
Wether the attackers ragdoll when shot in critical areas on the bodyweapon:
hash
Weapon assigned for the attackeraccuracy:
number
Weapon accuracy for the attackersuffercriticalhits:
boolean
Whether attackers can suffer critical hits about the body
vehicleMods:
table
Specifying vehicle modification properties.For the full list of mods you can look at the following: https://coxdocs.dev/ox_lib/Modules/VehicleProperties/Client
Level Example
{
reputation = {
min = 101,
max = 250,
},
gpsDeactivationTime = 4,
gpsDelayTime = 2000,
reputationReward = 20,
moneyReward = 10000,
neededItem = {
name = 'water',
amount = 6,
},
deadDropItem = {
name = 'meth_pure',
amount = 1,
},
attackers = {
amount = 5,
health = 125,
armor = 75,
ragdoll = true,
weapon = 'WEAPON_MICROSMG',
accuracy = 50,
suffercriticalhits = false,
},
vehicleGuards = {
ped = `s_m_y_dealer_01`,
amount = 5,
health = 125,
armor = 75,
ragdoll = true,
weapon = 'WEAPON_CARBINERIFLE',
accuracy = 50,
suffercriticalhits = false,
},
vehicleMods = {
dirtLevel = 0.2,
modSuspension = 2,
modTransmission = 3,
modEngine = 3,
neonEnabled = { true, true, true, true },
neonColor = { 255, 80, 80 },
}
},
Last updated