HexscriptsClassicClothing
Configurations
Here you will get all configurations & open source files that are included within this script.
Open Source Files
Config = {}
Config.Debug = true
Config.Locale = 'en'
Config.PlayerLoaded = 'esx:playerLoaded'
Config.MenuPosition = 'top-left' --Menu Default Position
Config.UseSubMenu = true --If you dont want the Default Menu Default
Config.ClothingStores = {
['Store 1'] = {
price = 255,
coord = vector3(72.254, -1399.102, 28.4),
radius = 4.25,
marker = {
type = 1,
scale = vector3(8.0, 8.0, 2.0),
color = {
red = 255,
green = 46,
blue = 58,
alpha = 100
},
moveUpAndDown = false,
rotate = true,
drawDistance = 50.0
},
blip = {
id = 73, --https://wiki.rage.mp/index.php?title=Blips#Blip_model
color = 1, --https://wiki.rage.mp/index.php?title=Blips#Blip_colors
scale = 1.0,
shortrange = true,
name = 'Klamottenladen',
enabled = true,
}
},
['Store 2'] = {
price = 255,
coord = vector3(-703.776, -152.258, 36.415),
radius = 4.25,
marker = {
type = 1,
scale = vector3(8.0, 8.0, 2.0),
color = {
red = 255,
green = 46,
blue = 58,
alpha = 100
},
moveUpAndDown = false,
rotate = true,
drawDistance = 50.0
},
blip = {
id = 73, --https://wiki.rage.mp/index.php?title=Blips#Blip_model
color = 1, --https://wiki.rage.mp/index.php?title=Blips#Blip_colors
scale = 1.0,
shortrange = true,
name = 'Klamottenladen',
enabled = true,
}
},
['Store 3'] = {
price = 255,
coord = vector3(-167.863, -298.969, 38.733),
radius = 4.25,
marker = {
type = 1,
scale = vector3(8.0, 8.0, 2.0),
color = {
red = 255,
green = 46,
blue = 58,
alpha = 100
},
moveUpAndDown = false,
rotate = true,
drawDistance = 50.0
},
blip = {
id = 73, --https://wiki.rage.mp/index.php?title=Blips#Blip_model
color = 1, --https://wiki.rage.mp/index.php?title=Blips#Blip_colors
scale = 1.0,
shortrange = true,
name = 'Klamottenladen',
enabled = true,
}
},
['Store 4'] = {
price = 255,
coord = vector3(428.694, -800.106, 28.491),
radius = 4.25,
marker = {
type = 1,
scale = vector3(8.0, 8.0, 2.0),
color = {
red = 255,
green = 46,
blue = 58,
alpha = 100
},
moveUpAndDown = false,
rotate = true,
drawDistance = 50.0
},
blip = {
id = 73, --https://wiki.rage.mp/index.php?title=Blips#Blip_model
color = 1, --https://wiki.rage.mp/index.php?title=Blips#Blip_colors
scale = 1.0,
shortrange = true,
name = 'Klamottenladen',
enabled = true,
}
},
['Store 5'] = {
price = 255,
coord = vector3(-829.413, -1073.710, 10.328),
radius = 4.25,
marker = {
type = 1,
scale = vector3(8.0, 8.0, 2.0),
color = {
red = 255,
green = 46,
blue = 58,
alpha = 100
},
moveUpAndDown = false,
rotate = true,
drawDistance = 50.0
},
blip = {
id = 73, --https://wiki.rage.mp/index.php?title=Blips#Blip_model
color = 1, --https://wiki.rage.mp/index.php?title=Blips#Blip_colors
scale = 1.0,
shortrange = true,
name = 'Klamottenladen',
enabled = true,
}
},
['Store 6'] = {
price = 255,
coord = vector3(-1447.797, -242.461, 48.820),
radius = 4.25,
marker = {
type = 1,
scale = vector3(8.0, 8.0, 2.0),
color = {
red = 255,
green = 46,
blue = 58,
alpha = 100
},
moveUpAndDown = false,
rotate = true,
drawDistance = 50.0
},
blip = {
id = 73, --https://wiki.rage.mp/index.php?title=Blips#Blip_model
color = 1, --https://wiki.rage.mp/index.php?title=Blips#Blip_colors
scale = 1.0,
shortrange = true,
name = 'Klamottenladen',
enabled = true,
}
},
['Store 7'] = {
price = 255,
coord = vector3(11.632, 6514.224, 30.877),
radius = 4.25,
marker = {
type = 1,
scale = vector3(8.0, 8.0, 2.0),
color = {
red = 255,
green = 46,
blue = 58,
alpha = 100
},
moveUpAndDown = false,
rotate = true,
drawDistance = 50.0
},
blip = {
id = 73, --https://wiki.rage.mp/index.php?title=Blips#Blip_model
color = 1, --https://wiki.rage.mp/index.php?title=Blips#Blip_colors
scale = 1.0,
shortrange = true,
name = 'Klamottenladen',
enabled = true,
}
},
['Store 8'] = {
price = 255,
coord = vector3(123.646, -219.440, 53.557),
radius = 4.25,
marker = {
type = 1,
scale = vector3(8.0, 8.0, 2.0),
color = {
red = 255,
green = 46,
blue = 58,
alpha = 100
},
moveUpAndDown = false,
rotate = true,
drawDistance = 50.0
},
blip = {
id = 73, --https://wiki.rage.mp/index.php?title=Blips#Blip_model
color = 1, --https://wiki.rage.mp/index.php?title=Blips#Blip_colors
scale = 1.0,
shortrange = true,
name = 'Klamottenladen',
enabled = true,
}
},
['Store 9'] = {
price = 255,
coord = vector3(1696.291, 4829.312, 41.063),
radius = 4.25,
marker = {
type = 1,
scale = vector3(8.0, 8.0, 2.0),
color = {
red = 255,
green = 46,
blue = 58,
alpha = 100
},
moveUpAndDown = false,
rotate = true,
drawDistance = 50.0
},
blip = {
id = 73, --https://wiki.rage.mp/index.php?title=Blips#Blip_model
color = 1, --https://wiki.rage.mp/index.php?title=Blips#Blip_colors
scale = 1.0,
shortrange = true,
name = 'Klamottenladen',
enabled = true,
}
},
['Store 10'] = {
price = 255,
coord = vector3(618.093, 2759.629, 41.088),
radius = 4.25,
marker = {
type = 1,
scale = vector3(8.0, 8.0, 2.0),
color = {
red = 255,
green = 46,
blue = 58,
alpha = 100
},
moveUpAndDown = false,
rotate = true,
drawDistance = 50.0
},
blip = {
id = 73, --https://wiki.rage.mp/index.php?title=Blips#Blip_model
color = 1, --https://wiki.rage.mp/index.php?title=Blips#Blip_colors
scale = 1.0,
shortrange = true,
name = 'Klamottenladen',
enabled = true,
}
},
['Store 11'] = {
price = 255,
coord = vector3(1190.550, 2713.441, 37.222),
radius = 4.25,
marker = {
type = 1,
scale = vector3(8.0, 8.0, 2.0),
color = {
red = 255,
green = 46,
blue = 58,
alpha = 100
},
moveUpAndDown = false,
rotate = true,
drawDistance = 50.0
},
blip = {
id = 73, --https://wiki.rage.mp/index.php?title=Blips#Blip_model
color = 1, --https://wiki.rage.mp/index.php?title=Blips#Blip_colors
scale = 1.0,
shortrange = true,
name = 'Klamottenladen',
enabled = true,
}
},
['Store 12'] = {
price = 255,
coord = vector3(-1193.429, -772.262, 16.324),
radius = 4.25,
marker = {
type = 1,
scale = vector3(8.0, 8.0, 2.0),
color = {
red = 255,
green = 46,
blue = 58,
alpha = 100
},
moveUpAndDown = false,
rotate = true,
drawDistance = 50.0
},
blip = {
id = 73, --https://wiki.rage.mp/index.php?title=Blips#Blip_model
color = 1, --https://wiki.rage.mp/index.php?title=Blips#Blip_colors
scale = 1.0,
shortrange = true,
name = 'Klamottenladen',
enabled = true,
}
},
['Store 13'] = {
price = 255,
coord = vector3(-3172.496, 1048.133, 19.863),
radius = 4.25,
marker = {
type = 1,
scale = vector3(8.0, 8.0, 2.0),
color = {
red = 255,
green = 46,
blue = 58,
alpha = 100
},
moveUpAndDown = false,
rotate = true,
drawDistance = 50.0
},
blip = {
id = 73, --https://wiki.rage.mp/index.php?title=Blips#Blip_model
color = 1, --https://wiki.rage.mp/index.php?title=Blips#Blip_colors
scale = 1.0,
shortrange = true,
name = 'Klamottenladen',
enabled = true,
}
},
['Store 14'] = {
price = 255,
coord = vector3(-1108.441, 2708.923, 18.107),
radius = 4.25,
marker = {
type = 1,
scale = vector3(8.0, 8.0, 2.0),
color = {
red = 255,
green = 46,
blue = 58,
alpha = 100
},
moveUpAndDown = false,
rotate = true,
drawDistance = 50.0
},
blip = {
id = 73, --https://wiki.rage.mp/index.php?title=Blips#Blip_model
color = 1, --https://wiki.rage.mp/index.php?title=Blips#Blip_colors
scale = 1.0,
shortrange = true,
name = 'Klamottenladen',
enabled = true,
}
},
}
Config.ClothingParts = {
["hat"] = {
icon = 'fa-brands fa-redhat', --Icon Names: https://fontawesome.com/icons
var_id = "helmet_1",
color_id = "helmet_2",
label = "Helm",
fov = 30.0,
z_height = 0.65
},
["glasses"] = {
icon = 'fa-solid fa-glasses',
var_id = "glasses_1",
color_id = "glasses_2",
label = "Brille",
fov = 30.0,
z_height = 0.65
},
["pants"] = {
icon = 'fa-solid fa-table-columns',
var_id = "pants_1",
color_id = "pants_2",
label = "Hose",
fov = 75.0,
z_height = -0.425
},
["shoes"] = {
icon = 'fa-solid fa-shoe-prints',
var_id = "shoes_1",
color_id = "shoes_2",
label = "Schuhe",
fov = 75.0,
z_height = -0.7
},
["chain"] = {
icon = 'fa-solid fa-link',
var_id = "chain_1",
color_id = "chain_2",
label = "Kette",
fov = 75.0,
z_height = 0.25
},
["bag"] = {
icon = 'fa-solid fa-suitcase',
var_id = "bags_1",
color_id = "bags_2",
label = "Rucksack",
fov = 75.0,
z_height = 0.15
},
["torso"] = {
icon = 'fa-solid fa-shirt',
var_id = "torso_1",
color_id = "torso_2",
label = "Torso",
fov = 75.0,
z_height = 0.15
},
["tshirt"] = {
icon = 'fa-solid fa-shirt',
var_id = "tshirt_1",
color_id = "tshirt_2",
label = "TShirt",
fov = 75.0,
z_height = 0.15
},
["arms"] = {
icon = 'fa-solid fa-mitten',
var_id = "arms",
color_id = "arms_2",
label = "Arme",
fov = 75.0,
z_height = 0.01
},
["mask"] = {
icon = 'fa-solid fa-mask',
var_id = "mask_1",
color_id = "mask_2",
label = "Maske",
fov = 30.0,
z_height = 0.65
},
["bproof"] = {
icon = 'fa-solid fa-vest',
var_id = "bproof_1",
color_id = "bproof_2",
label = "Weste",
fov = 75.0,
z_height = 0.15
}
}
Config.Locales = {
['de'] = {
['title'] = 'Clothing',
['pressE'] = 'Drücke [~r~E~s~] um auf den Klamotten Laden zuzugreifen!',
['myOutfit'] = 'Outfits',
['delOutfit'] = 'Outfit Löschen',
['outfitBuyed'] = 'Outfit gekauft!',
['notEnoughMoney'] = 'Du hast nicht genug Geld!',
['openShop'] = 'Kleidungsladen öffnen',
['openMyOutfits'] = 'Meine Outfits',
['menuDefaultSelect'] = 'Klamotten Auswahl',
['menuDefaultMy'] = 'Meine Klamotten',
['menuDefauldeltMy'] = 'Klamotten Löschen',
},
['en'] = {
['title'] = 'Clothing',
['pressE'] = 'Press [~r~E~s~] to enter the Clothing Store!',
['myOutfit'] = 'Outfits',
['delOutfit'] = 'Delete Outfit',
['outfitBuyed'] = 'Outfit Buyed!',
['notEnoughMoney'] = 'You need more Money!',
['openShop'] = 'Open Cloth Shop',
['openMyOutfits'] = 'My Outfits',
['menuDefaultSelect'] = 'Clothing Select',
['menuDefaultMy'] = 'My Clothing',
['menuDefauldeltMy'] = 'Delete Clothing',
}
}
function Notify(title, message, type, timeout)
TriggerEvent('hex_hud:notify', title, message, type, timeout)
end
function ShowNotify(msg)
AddTextEntry('hexNotification', msg)
BeginTextCommandDisplayHelp('hexNotification')
EndTextCommandDisplayHelp(0, false, true, -1)
end
--[[Developer Note:
Add this:
TriggerEvent('hex_clothing:openOutfitMenu')
to your Resources.
This Trigger will Open the Saved Outfit Menu + the Delete Outfit Menu!
The Script needs skinchanger to run properly!
Export to get the Users Clothes (Client Side):
exports['hex_clothing']:GetClothes()
]]