Configuration
cfg.cars = {
rm_car_1 = {
itemData = {name = 'rm_car_1', removeAfterUse = true}, ---@type { name: string, removeAfterUse: boolean }
carData = {
signalDistance = 100.0,
particle = {
enabled = true,
scale = 0.15,
bones = {
{ name = "wheel_rf", offset = vector3(0.0, 0.0, 0.0), rotation = vector3(0.0, 0.0, 0.0)},
{ name = "wheel_lf", offset = vector3(0.0, 0.0, 0.0), rotation = vector3(0.0, 0.0, 0.0)},
{ name = "wheel_rr", offset = vector3(0.0, 0.0, 0.0), rotation = vector3(0.0, 0.0, 0.0)},
{ name = "wheel_lr", offset = vector3(0.0, 0.0, 0.0), rotation = vector3(0.0, 0.0, 0.0)},
},
},
abilities = {
enterAnimation = false,
nightVision = true,
thermalVision = true,
hasBomb = true,
hasNitrous = true,
nitrousDelay = 500,
canJump = true,
canSpin = true,
jumpHeight = 5.0,
},
}
},
}
cfg.keys = {
nitro = { keys = { {0, 21, true} }, label = locale('car.nitro') },
jump = { keys = { {0, 38, true} }, label = locale('car.jump') },
exit = { keys = { {0, 177, true} }, label = locale('car.exit') },
spin = { keys = { {0, 45, true} }, label = locale('car.spin') },
bomb = { keys = { {0, 47, true} }, label = locale('car.bomb') },
nightvision = { keys = { {0, 48, true} }, label = locale('car.nightvision') },
thermalvision = { keys = { {0, 75, true} }, label = locale('car.thermalvision') },
}
Last updated