Skip to content

Commit

Permalink
fix: No such export getSharedObject
Browse files Browse the repository at this point in the history
  • Loading branch information
bitpredator committed Dec 5, 2023
1 parent a25b7db commit 735a31e
Show file tree
Hide file tree
Showing 8 changed files with 730 additions and 364 deletions.
136 changes: 87 additions & 49 deletions server-data/resources/[esx_addons]/esx_lscustom/client/main.lua

Large diffs are not rendered by default.

77 changes: 55 additions & 22 deletions server-data/resources/[esx_addons]/esx_lscustom/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,46 +6,31 @@ Config.IsMechanicJobOnly = false
Config.Zones = {

ls1 = {
Pos = { x = -337.38, y = -136.92, z = 38.57},
Size = {x = 3.0, y = 3.0, z = 0.2},
Color = {r = 204, g = 204, b = 0},
Marker= 1,
Pos = vector3(-337.38, -136.92, 38.57),
Name = _U('blip_name'),
Hint = _U('press_custom')
},

ls2 = {
Pos = { x = -1155.53, y = -2007.18, z = 12.74},
Size = {x = 3.0, y = 3.0, z = 0.2},
Color = {r = 204, g = 204, b = 0},
Marker= 1,
Pos = vector3(-1155.53, -2007.18, 12.74),
Name = _U('blip_name'),
Hint = _U('press_custom')
},

ls3 = {
Pos = { x = 731.81, y = -1088.82, z = 21.73},
Size = {x = 3.0, y = 3.0, z = 0.2},
Color = {r = 204, g = 204, b = 0},
Marker= 1,
Pos = vector3(731.81, -1088.82, 21.73),
Name = _U('blip_name'),
Hint = _U('press_custom')
},

ls4 = {
Pos = { x = 1175.04, y = 2640.21, z = 37.32},
Size = {x = 3.0, y = 3.0, z = 0.2},
Color = {r = 204, g = 204, b = 0},
Marker= 1,
Pos = vector3(1175.04, 2640.21, 37.32),
Name = _U('blip_name'),
Hint = _U('press_custom')
},

ls5 = {
Pos = { x = 110.99, y = 6626.39, z = 30.89},
Size = {x = 3.0, y = 3.0, z = 0.2},
Color = {r = 204, g = 204, b = 0},
Marker= 1,
Pos = vector3(110.99, 6626.39, 30.89),
Name = _U('blip_name'),
Hint = _U('press_custom')
}
Expand Down Expand Up @@ -489,7 +474,7 @@ Config.Menus = {
label = _U('brakes'),
parent = 'upgrades',
modType = 12,
price = {4.65, 9.3, 18.6, 13.95}
price = {4.65, 9.3, 13.95, 18.6}
},
modTransmission = {
label = _U('transmission'),
Expand Down Expand Up @@ -708,7 +693,13 @@ Config.Menus = {
modFrontWheelsType4 = _U('allterrain'),
modFrontWheelsType5 = _U('tuning'),
modFrontWheelsType6 = _U('motorcycle'),
modFrontWheelsType7 = _U('highend')
modBackWheelsType6 = _U('motorcycle2'),
modFrontWheelsType7 = _U('highend'),
modFrontWheelsType8 = _U('dragster'),
modFrontWheelsType9 = _U('street'),
modFrontWheelsType10 = _U('bennys'),
modFrontWheelsType11 = _U('bennysv2'),
modFrontWheelsType12 = _U('rally'),
},
modFrontWheelsType0 = {
label = _U('sport'),
Expand Down Expand Up @@ -758,13 +749,55 @@ Config.Menus = {
modType = 23,
wheelType = 6,
price = 3.26
},
modBackWheelsType6 = {
label = _U('motorcycle'),
parent = 'modBackWheelsTypes',
modType = 24,
wheelType = 6,
price = 3.26
},
modFrontWheelsType7 = {
label = _U('highend'),
parent = 'modFrontWheelsTypes',
modType = 23,
wheelType = 7,
price = 5.12
},
modFrontWheelsType8 = {
label = _U('dragster'),
parent = 'modFrontWheelsTypes',
modType = 23,
wheelType = 10,
price = 5.12
},
modFrontWheelsType9 = {
label = _U('street'),
parent = 'modFrontWheelsTypes',
modType = 23,
wheelType = 11,
price = 4.19
},
modFrontWheelsType10 = {
label = _U('bennys'),
parent = 'modFrontWheelsTypes',
modType = 23,
wheelType = 8,
price = 5.12
},
modFrontWheelsType11 = {
label = _U('bennysv2'),
parent = 'modFrontWheelsTypes',
modType = 23,
wheelType = 9,
price = 5.12
},
modFrontWheelsType12 = {
label = _U('rally'),
parent = 'modFrontWheelsTypes',
modType = 23,
wheelType = 12,
price = 4.19
},
modFrontWheelsColor = {
label = _U('wheel_color'),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ game 'gta5'

description 'ESX LS Customs'
lua54 'yes'
version '0.0.4'
version '1.0.0'

shared_script '@es_extended/imports.lua'

Expand All @@ -21,4 +21,4 @@ client_scripts {
'locales/*.lua',
'config.lua',
'client/main.lua'
}
}
10 changes: 8 additions & 2 deletions server-data/resources/[esx_addons]/esx_lscustom/locales/en.lua
Original file line number Diff line number Diff line change
Expand Up @@ -240,8 +240,14 @@ Locales['en'] = {
['suv'] = 'SUV',
['allterrain'] = 'all terrain',
['tuning'] = 'tuning',
['motorcycle'] = 'motorcycle',
['highend'] = 'high end',
["motorcycle"] = "motorcycle Front",
["highend"] = "high end",
['motorcycle2'] = 'motorcycle Back',
['dragster'] = 'dragster',
['street'] = 'street',
['bennys'] = 'bennys',
['bennysv2'] = 'bennys v2',
['rally'] = 'race',

['modplateholder'] = 'plate - Back',
['modvanityplate'] = 'plate - Front',
Expand Down
Loading

0 comments on commit 735a31e

Please sign in to comment.