This system adds to your server Lamar, a character who buys stolen vehicles. You can customize both the model range of vehicles and the amount of the reward.
Demo: YouTube
- Standalone script
- Support ESX, QBCore and NDCore Frameworks
- Reward range setting
- The system is general, that is, if one player delivered the transport, then the other will not be able to bring it
- Minimum load on the client and server
lamardeliver:reward [money]
Config = {}
Config.Reward = {100, 200}
Config.RewardType = "cash" -- bank or cash
-- Blip config
Config.Blip = {
sprite = 445,
scale = 1.0,
color = 38,
name = "Lamar"
}
-- Ped position
Config.Position = {
x = 302.76,
y = -1180.46,
z = 28.38,
h = 128.0
}
-- Unload marker position
Config.UnloadPosition = {
x = 298.95,
y = -1183.3,
z = 29.25,
r = 3
}
-- Config for zone enter marker
Config.ZoneEnterMarker = {
type = 36,
scale = {1.0, 1.0, 1.0},
color = {45, 110, 185, 128},
jump = false,
camera = true,
dist = 2,
enterText = "~INPUT_PICKUP~ Sell current car",
}
-- Reward notify config
Config.RewardAuthor = "Lamar"
Config.RewardTitle = "Well done"
Config.RewardIcon = 9
Config.RewardImage = {'CHAR_LAMAR', 'CHAR_LAMAR'}
Config.RewardText = "Great job. Here is your $$money. Check back later for a new order."
-- Text above ped head config
Config.Text = "I need $name"
Config.TextNotNeedNow = "I don't need any car now"
Config.TextDistance = 10
Config.TextData = {
scale = 0.2,
r = 255,
g = 255,
b = 255,
a = 255,
font = 0,
justify = 1,
shadow = true,
outline = true,
}
-- Notify new car request config
Config.NotifyNewCar = true -- Enable/Disable
Config.NotifyNewCarAuthor = "Lamar"
Config.NotifyNewCarTitle = "New order"
Config.NotifyNewCarIcon = 2
Config.NotifyNewCarImage = {'CHAR_LAMAR', 'CHAR_LAMAR'}
Config.NotifyNewCarText = "Hey Ya. How are you? I need $model. Any colour. Bring me - get $$money"
Config.DistanceSpawn = 100 -- Distance for create ped and unload
Config.PedModel = "ig_lamardavis" -- Ped model
-- List for models
Config.VehicleModels = {
'blista',
'asbo',
'buccaneer',
'picador',
'voodoo',
}
-- Cooldown between new orders
Config.DelayNewOrderMinutes = {1, 10}
| Code accessible | Config |
| Subscription-based | No |
| Lines | ~450 |
| Requirements | ESX, QBCore, NDCore optional |
| Support | Yes |
| Future Updates | Free |