![✂️ [PAID][Standalone][ESX] Barber shop system | UI | Burevestnik main image](https://forum-cfx-re.akamaized.net/original/5X/1/d/0/f/1d0f8e55d4afbf6c1d4c5fd2922b49429f8d6e32.gif)
![✂️ [PAID][Standalone][ESX] Barber shop system | UI | Burevestnik thumbnail 1](https://forum-cfx-re.akamaized.net/original/5X/1/d/0/f/1d0f8e55d4afbf6c1d4c5fd2922b49429f8d6e32.gif)
![✂️ [PAID][Standalone][ESX] Barber shop system | UI | Burevestnik thumbnail 2](https://forum-cfx-re.akamaized.net/optimized/5X/3/1/9/5/31954c2bcb2f65e72629876e33e380bb6745980f_2_690x388.jpeg)
![✂️ [PAID][Standalone][ESX] Barber shop system | UI | Burevestnik thumbnail 3](https://forum-cfx-re.akamaized.net/optimized/5X/9/7/7/e/977e63b3753991fc60c41ce11e39e6be6008f7f6_2_690x388.jpeg)
![✂️ [PAID][Standalone][ESX] Barber shop system | UI | Burevestnik thumbnail 4](https://forum-cfx-re.akamaized.net/optimized/5X/b/4/5/0/b450d33f5a8c37d40afe19a16d015c6e7efa76f1_2_690x388.jpeg)
![✂️ [PAID][Standalone][ESX] Barber shop system | UI | Burevestnik thumbnail 5](https://forum-cfx-re.akamaized.net/original/4X/6/5/3/653b1c9003bdcea4eb6c28c61d8a772cab558ff5.gif)
![✂️ [PAID][Standalone][ESX] Barber shop system | UI | Burevestnik thumbnail 6](https://forum-cfx-re.akamaized.net/original/4X/9/3/d/93d8acce248a25f2c0d3fda86aeeb2f95f4659e7.gif)
![✂️ [PAID][Standalone][ESX] Barber shop system | UI | Burevestnik thumbnail 7](https://forum-cfx-re.akamaized.net/original/4X/1/9/d/19d31cc97167d2fed475a14771b43826e8ac73e7.gif)
![✂️ [PAID][Standalone][ESX] Barber shop system | UI | Burevestnik thumbnail 8](https://forum-cfx-re.akamaized.net/original/5X/e/c/e/7/ece706af5f826930576b0b3dac2c1f73d01ae12d.gif)
![✂️ [PAID][Standalone][ESX] Barber shop system | UI | Burevestnik thumbnail 9](https://forum-cfx-re.akamaized.net/original/5X/2/2/0/4/220464289dd473fc2c2fe3555a9984f96f72e84e.gif)
![✂️ [PAID][Standalone][ESX] Barber shop system | UI | Burevestnik thumbnail 10](https://forum-cfx-re.akamaized.net/original/4X/7/8/d/78db552cf1d69be4a402a0b0f3167765e14da040.gif)
![✂️ [PAID][Standalone][ESX] Barber shop system | UI | Burevestnik thumbnail 11](https://forum-cfx-re.akamaized.net/original/4X/5/3/a/53adfc28d66f4a3e1db28ad2e24a24d07d6596ff.gif)
![✂️ [PAID][Standalone][ESX] Barber shop system | UI | Burevestnik thumbnail 12](https://forum-cfx-re.akamaized.net/original/4X/9/7/4/9742f2aad2e2dd0568ed09848dae7834d7478917.gif)
![✂️ [PAID][Standalone][ESX] Barber shop system | UI | Burevestnik thumbnail 13](https://forum-cfx-re.akamaized.net/original/4X/b/0/f/b0fc63b9701154b4df19aaaabdb594ae0425b391.gif)
![✂️ [PAID][Standalone][ESX] Barber shop system | UI | Burevestnik thumbnail 14](https://forum-cfx-re.akamaized.net/original/4X/b/3/0/b30449f006c0a09c6a4e4a25dece69ca24276e99.gif)
![✂️ [PAID][Standalone][ESX] Barber shop system | UI | Burevestnik thumbnail 15](https://forum-cfx-re.akamaized.net/original/4X/8/6/a/86a226f6e216213ec731e88ee0d463544e7b0606.gif)
![✂️ [PAID][Standalone][ESX] Barber shop system | UI | Burevestnik thumbnail 16](https://forum-cfx-re.akamaized.net/original/4X/0/d/b/0db18b2d46c45b5057bf4a82d6152d37b6863e09.gif)
![✂️ [PAID][Standalone][ESX] Barber shop system | UI | Burevestnik thumbnail 17](https://forum-cfx-re.akamaized.net/original/4X/2/d/d/2ddfa8190aaea590c4e0fba22a72742f96c6dd2e.gif)
![✂️ [PAID][Standalone][ESX] Barber shop system | UI | Burevestnik thumbnail 18](https://forum-cfx-re.akamaized.net/original/4X/3/f/c/3fcdfabe319593ac8a5974056384266e99e4a791.gif)
![✂️ [PAID][Standalone][ESX] Barber shop system | UI | Burevestnik thumbnail 19](https://forum-cfx-re.akamaized.net/original/4X/6/c/f/6cf2b04a69935cbf723521bd0feda76815bbf307.gif)
![✂️ [PAID][Standalone][ESX] Barber shop system | UI | Burevestnik thumbnail 20](https://forum-cfx-re.akamaized.net/original/4X/1/9/d/19d31cc97167d2fed475a14771b43826e8ac73e7.gif)
![✂️ [PAID][Standalone][ESX] Barber shop system | UI | Burevestnik thumbnail 21](https://forum-cfx-re.akamaized.net/original/4X/9/3/d/93d8acce248a25f2c0d3fda86aeeb2f95f4659e7.gif)
![✂️ [PAID][Standalone][ESX] Barber shop system | UI | Burevestnik thumbnail 22](https://forum-cfx-re.akamaized.net/original/4X/3/d/6/3d62640d71c740b21666d731d10de208798f8149.gif)
![✂️ [PAID][Standalone][ESX] Barber shop system | UI | Burevestnik thumbnail 23](https://forum-cfx-re.akamaized.net/original/4X/f/d/5/fd529689e4750ef36350bfe242dfc05410ca1b64.gif)
![✂️ [PAID][Standalone][ESX] Barber shop system | UI | Burevestnik thumbnail 24](https://forum-cfx-re.akamaized.net/original/4X/3/2/f/32f1581cf017b31dd8954a36b2381af1dc9ff364.gif)
![✂️ [PAID][Standalone][ESX] Barber shop system | UI | Burevestnik thumbnail 25](https://forum-cfx-re.akamaized.net/original/4X/6/5/3/653b1c9003bdcea4eb6c28c61d8a772cab558ff5.gif)
![✂️ [PAID][Standalone][ESX] Barber shop system | UI | Burevestnik thumbnail 26](https://forum-cfx-re.akamaized.net/original/4X/7/a/6/7a641684eac486e569424db03a62be5ce3d08021.gif)
![✂️ [PAID][Standalone][ESX] Barber shop system | UI | Burevestnik thumbnail 27](https://forum-cfx-re.akamaized.net/original/4X/f/6/b/f6b6627f4ed3fa076fbe5f0d0a363e853c902ac1.gif)
![✂️ [PAID][Standalone][ESX] Barber shop system | UI | Burevestnik thumbnail 28](https://forum-cfx-re.akamaized.net/original/4X/8/5/b/85b3efdf2321530fcfaa31b55dce2be6b83d67da.gif)
![✂️ [PAID][Standalone][ESX] Barber shop system | UI | Burevestnik thumbnail 29](https://forum-cfx-re.akamaized.net/original/4X/d/5/0/d5068c41579ffbb7f557b48f32b0ec1bdd1dd52a.gif)
![✂️ [PAID][Standalone][ESX] Barber shop system | UI | Burevestnik thumbnail 30](https://forum-cfx-re.akamaized.net/original/4X/0/6/1/0619c0579d60e5714b508daf80e98ed44c34e5af.gif)
![✂️ [PAID][Standalone][ESX] Barber shop system | UI | Burevestnik thumbnail 31](https://forum-cfx-re.akamaized.net/original/4X/4/e/c/4ec605408f66c8b62d61ab589eef6f519d14f652.gif)
![✂️ [PAID][Standalone][ESX] Barber shop system | UI | Burevestnik thumbnail 32](https://forum-cfx-re.akamaized.net/original/4X/6/9/b/69bad650cbe6356db5dd5d66e16cfb566c802c9c.gif)
![✂️ [PAID][Standalone][ESX] Barber shop system | UI | Burevestnik thumbnail 33](https://forum-cfx-re.akamaized.net/original/4X/3/7/3/37348f2448d8c547617c1dd7647a322fc364de06.gif)
![✂️ [PAID][Standalone][ESX] Barber shop system | UI | Burevestnik thumbnail 34](https://forum-cfx-re.akamaized.net/original/4X/8/4/e/84e89d4ec05bde78b48959c60c0a41a40db7afe4.gif)
![✂️ [PAID][Standalone][ESX] Barber shop system | UI | Burevestnik thumbnail 35](https://forum-cfx-re.akamaized.net/original/4X/8/a/4/8a44aa683927f8e98e5f2e227e0d15b99f9992ca.gif)
![✂️ [PAID][Standalone][ESX] Barber shop system | UI | Burevestnik thumbnail 36](https://forum-cfx-re.akamaized.net/original/4X/8/1/0/810ed533f2c39f0adf754be032bbe98f0909a044.gif)
![✂️ [PAID][Standalone][ESX] Barber shop system | UI | Burevestnik thumbnail 37](https://forum-cfx-re.akamaized.net/original/4X/4/1/0/41088f2fcf4e61fffb84c8fcbceaf3006cb7c085.jpeg)
![✂️ [PAID][Standalone][ESX] Barber shop system | UI | Burevestnik thumbnail 38](https://forum-cfx-re.akamaized.net/original/4X/c/7/b/c7b30f52db0bec6bb9741989070536a7967be9e4.gif)
![✂️ [PAID][Standalone][ESX] Barber shop system | UI | Burevestnik thumbnail 39](https://forum-cfx-re.akamaized.net/original/4X/b/f/e/bfe08291bb15ff164cf3ebe7c33cd3fa22f9f5cf.jpeg)
![✂️ [PAID][Standalone][ESX] Barber shop system | UI | Burevestnik thumbnail 40](https://forum-cfx-re.akamaized.net/original/4X/a/9/f/a9f58a4f82b92e5e4067ae52205df80a03ef9cb6.jpeg)
![✂️ [PAID][Standalone][ESX] Barber shop system | UI | Burevestnik thumbnail 41](https://forum-cfx-re.akamaized.net/original/4X/3/5/5/3550133737ac7e15a8791168ff2d3af5e1e00c6d.jpeg)
![✂️ [PAID][Standalone][ESX] Barber shop system | UI | Burevestnik thumbnail 42](https://forum-cfx-re.akamaized.net/original/4X/d/5/3/d53fe4200f0b43e2869f83be59c9a31dcd770f3a.jpeg)
![✂️ [PAID][Standalone][ESX] Barber shop system | UI | Burevestnik thumbnail 43](https://forum-cfx-re.akamaized.net/original/4X/8/a/2/8a261693b93abad39161922ba047febb4115456d.gif)
![✂️ [PAID][Standalone][ESX] Barber shop system | UI | Burevestnik thumbnail 44](https://forum-cfx-re.akamaized.net/original/4X/e/0/2/e02c6f910c1687e3cc9a808f40598f9bb8ddc491.jpeg)
![✂️ [PAID][Standalone][ESX] Barber shop system | UI | Burevestnik thumbnail 45](https://forum-cfx-re.akamaized.net/original/4X/6/3/9/639e3e4f7afaac974902080b0a7559695bf6d66a.jpeg)
![✂️ [PAID][Standalone][ESX] Barber shop system | UI | Burevestnik thumbnail 46](https://forum-cfx-re.akamaized.net/original/4X/2/7/d/27d23af4cae8c98c83d5a031846cc564a2cbd4e9.jpeg)
![✂️ [PAID][Standalone][ESX] Barber shop system | UI | Burevestnik thumbnail 47](https://forum-cfx-re.akamaized.net/original/4X/7/4/b/74b9e0cc61006159a0232f452634958b9ec2bd52.png)
![✂️ [PAID][Standalone][ESX] Barber shop system | UI | Burevestnik thumbnail 48](https://forum-cfx-re.akamaized.net/original/4X/9/1/0/910217f9219153d871ad5105d54ab25f4d806299.jpeg)
![✂️ [PAID][Standalone][ESX] Barber shop system | UI | Burevestnik thumbnail 49](https://forum-cfx-re.akamaized.net/original/4X/9/7/f/97f570af431a07c9b44235405f510f000f10ea85.png)
Price
UnknownA script by Burevestnik
Price
UnknownI welcome you CFX community!
Today I present to you the barber shop system! This system provides accessibility for frameworks (ESX, Standalone), huge editing capabilities using a configuration file, and a unique design. I’m sure you and your players will love it!
This system includes a nice user interface, a convenient configuration file, the ability to configure the entire resource and clear functionality.
Demonstration of the system:
Example of a configuration file:
--/*
-- ██████╗░██╗░░░██╗██████╗░███████╗██╗░░░██╗███████╗░██████╗████████╗███╗░░██╗██╗██╗░░██╗
-- ██╔══██╗██║░░░██║██╔══██╗██╔════╝██║░░░██║██╔════╝██╔════╝╚══██╔══╝████╗░██║██║██║░██╔╝
-- ██████╦╝██║░░░██║██████╔╝█████╗░░╚██╗░██╔╝█████╗░░╚█████╗░░░░██║░░░██╔██╗██║██║█████═╝░
-- ██╔══██╗██║░░░██║██╔══██╗██╔══╝░░░╚████╔╝░██╔══╝░░░╚═══██╗░░░██║░░░██║╚████║██║██╔═██╗░
-- ██████╦╝╚██████╔╝██║░░██║███████╗░░╚██╔╝░░███████╗██████╔╝░░░██║░░░██║░╚███║██║██║░╚██╗
-- ╚═════╝░░╚═════╝░╚═╝░░╚═╝╚══════╝░░░╚═╝░░░╚══════╝╚═════╝░░░░╚═╝░░░╚═╝░░╚══╝╚═╝╚═╝░░╚═╝*/
Config = {}
--If ESX = false, then Standalone will turn on
--Are you using ESX?
Config.UseESX = true
--Enable this if ESX throws an error: Used the getSharedObject Event, this event no longer exists!
Config.UseESX_lib = true
--Are you using Standalone?
Config.UseStandalone = false
--Debug mode
Config.debug = false
Config.useCommandNameOpenMenu = false
Config.commandNameOpenMenu = 'barber'
--The ability to embed your own exports to hide the hud
Config.useHudOffOnEvents = true
function hudOnEvent()
DisplayRadar(true)
--exports.Burevestnik_hud:Burevestnik_hud_on() -- Uncomment if you use Burevestnik_HUD system (https://burevestnik.tebex.io/package/5371893)
end
function hudOffEvent()
DisplayRadar(false)
--exports.Burevestnik_hud:Burevestnik_hud_off() -- Uncomment if you use Burevestnik_HUD system (https://burevestnik.tebex.io/package/5371893)
end
--Interaction Button
Config.BarbershopOpenButton = 38
-- If true, the custom interaction menus are activated. Pay attention to the customInteractionButtonOpen and customInteractionButtonClose functions.
Config.UseCustomInteractionButton = false
Config.BurevestnikInteractionButton = "E"
Config.BurevestnikInteractionButtonText = "Press to interact"
-- The function of opening a custom interaction menu.
function customInteractionButtonOpen()
--exports.Burevestnik_interaction_button:bur_nui_InteractionButton_open(Config.BurevestnikInteractionButton, Config.BurevestnikInteractionButtonText) -- Uncomment if you use Burevestnik Interaction Button (https://forum.cfx.re/t/free-standalone-interaction-button/4860169)
end
-- The function of closing the custom interaction menu.
function customInteractionButtonClose()
--exports.Burevestnik_interaction_button:bur_nui_InteractionButton_close() -- Uncomment if you use Burevestnik Interaction Button (https://forum.cfx.re/t/free-standalone-interaction-button/4860169)
end
function notification(source, text)
local _source = source
TriggerClientEvent('esx:showNotification', _source, text)
end
function notificationInteraction(str)
SetTextComponentFormat("STRING")
AddTextComponentString(str)
DisplayHelpTextFromStringLabel(0, 0, false, -1)
end
--The fov value for the camera
Config.cameraFov = 25.0
--The price for changing barbers
Config.price = 100
--Opening the menu with animation of sitting on a chair.
--If true, it will check if the chair is occupied by another player and if it is occupied, you will have to wait until it becomes free.
--If false, the menu will open immediately without animations and checking for occupied chairs.
Config.chairsOpenEvent = true
--Insert your own events getting and saving a character
function gettingAndSavingCharacter(playerAppearance, playerBarbers)
if Config.UseESX then
for featureName, featureValue in pairs(playerBarbers) do
TriggerEvent('skinchanger:change', featureName, featureValue)
end
TriggerEvent('skinchanger:getSkin', function(skin)
TriggerServerEvent('esx_skin:save', skin)
end)
end
end
--Skin reset function
function resetCharacter()
if Config.UseESX then
ESX.TriggerServerCallback('esx_skin:getPlayerSkin', function(skin)
TriggerEvent('skinchanger:loadSkin', skin)
end)
end
end
Config.Barbershop = {
{
interactionDistance = 2.0, --Distance for interaction with the store
useBlip = true, --The ability to use blip on the map for this ped.
blipID = 71, --Blip ID.
blipScale = 0.7, --Blip scale.
blipColor = 17, --Blip color.
blipText = "Barber shop", --Blip text.
UseMarkers = false, --Do you want to use a marker ?
MarkerType = 1, --Marker type
MarkerSizeX = 0.5, --Marker size X
MarkerSizeY = 0.5, --Marker size Y
MarkerSizeZ = 0.5, --Marker size Z
MarkerColourR = 122, --Marker colour R
MarkerColourG = 195, --Marker colour G
MarkerColourB = 254, --Marker colour B
MarkerColourA = 20, --Marker colour A
locations = { --Barbershop locations
vector3(136.8, -1708.4, 28.3),
vector3(-1282.6, -1116.8, 6.0),
vector3(1931.5, 3729.7, 31.8),
vector3(1212.8, -472.9, 65.2),
vector3(-32.9, -152.3, 56.1),
vector3(-278.1, 6228.5, 30.7),
vector3(-821.1483, -185.8494, 37.5689),
},
},
}
Config.BarbershopChairPositionList = {
--Davis
{pos = vector4(137.77, -1710.67, 28.51, 229.93), status = false, walkTime = 4000},
{pos = vector4(138.72, -1709.58, 28.54, 232.26), status = false, walkTime = 4000},
{pos = vector4(139.66, -1708.47, 28.54, 222.14 ), status = false, walkTime = 4000},
--Vespucci
{pos = vector4(-1284.29, -1119.58, 6.32, 189.06), status = false, walkTime = 4000},
{pos = vector4(-1282.83, -1119.58, 6.3, 182.93), status = false, walkTime = 4000},
{pos = vector4(-1281.32, -1119.56, 6.34, 180.99), status = false, walkTime = 4000},
--Sandy
{pos = vector4(1934.5, 3730.15, 32.17, 300.59), status = false, walkTime = 4000},
{pos = vector4(1933.72, 3731.43, 32.21, 302.9), status = false, walkTime = 4000},
{pos = vector4(1933.02, 3732.7, 32.17, 295.57), status = false, walkTime = 4000},
--Mirror
{pos = vector4(1210.33, -474.67, 65.53, 163.11), status = false, walkTime = 4000},
{pos = vector4(1211.72, -475.02, 65.55, 166.5), status = false, walkTime = 4000},
{pos = vector4(1213.18, -475.36, 65.63, 160.01), status = false, walkTime = 4000},
--Havick
{pos = vector4(-34.67, -150.17, 56.44, 70.0), status = false, walkTime = 4000},
{pos = vector4(-35.18, -151.61, 56.43, 80.81), status = false, walkTime = 4000},
{pos = vector4(-35.7, -152.98, 56.42, 77.67), status = false, walkTime = 4000},
--Paleto
{pos = vector4(-280.99, 6227.58, 31.02, 133.88), status = false, walkTime = 4000},
{pos = vector4(-279.91, 6226.51, 31.01, 137.31), status = false, walkTime = 4000},
{pos = vector4(-278.88, 6225.48, 31.01, 131.52), status = false, walkTime = 4000},
--Rockford
{pos = vector4(-818.21, -183.57, 36.8, 27.48), status = false, walkTime = 6000},
{pos = vector4(-816.46, -182.55, 36.8, 27.48), status = false, walkTime = 6000},
{pos = vector4(-814.69, -181.53, 36.8, 33.27), status = false, walkTime = 6000},
{pos = vector4(-812.97, -180.6, 36.85, 33.07), status = false, walkTime = 6000}
}
Config.maxMinValue = {
--Hairstyle
['barberElementMaxMinValue1'] = 0,
['barberElementMaxMinValue2'] = 78,
--HairstyleColor
['barberElementMaxMinValue3'] = 0,
['barberElementMaxMinValue4'] = 45,
--Beard
['barberElementMaxMinValue5'] = -1,
['barberElementMaxMinValue6'] = 47,
--BeardColor
['barberElementMaxMinValue7'] = 0,
['barberElementMaxMinValue8'] = 45,
--Eyebrows
['barberElementMaxMinValue9'] = 0,
['barberElementMaxMinValue10'] = 33,
--EyebrowsColor
['barberElementMaxMinValue11'] = 0,
['barberElementMaxMinValue12'] = 45,
--Makeup
['barberElementMaxMinValue13'] = 0,
['barberElementMaxMinValue14'] = 94,
--MakeupColor
['barberElementMaxMinValue15'] = 0,
['barberElementMaxMinValue16'] = 64,
--Blush
['barberElementMaxMinValue17'] = 0,
['barberElementMaxMinValue18'] = 32,
--BlushColor
['barberElementMaxMinValue19'] = 0,
['barberElementMaxMinValue20'] = 64,
--Lipstick
['barberElementMaxMinValue21'] = -1,
['barberElementMaxMinValue22'] = 9,
--LipstickColor
['barberElementMaxMinValue23'] = 0,
['barberElementMaxMinValue24'] = 64,
--HairstyleColor2
['barberElementMaxMinValue25'] = 0,
['barberElementMaxMinValue26'] = 5,
}
--Translation config
Config.Translation = {
['menu'] = 'Press ~INPUT_CONTEXT~ to ~g~interact',
['nomoney'] = '~r~You do not have enough Money!',
['noseats'] = '~y~All barbers are busy now. Please wait!',
['debugText1'] = 'The chair is free:',
['debugText2'] = 'The chair is taken:',
['debugText3'] = 'Chair #',
['debugText4'] = '~r~Taken',
['debugText5'] = '~g~Free',
['translationText1'] = 'Barber shop ㅤ burevestnik.tebex.io',
['translationText2'] = 'Hairstyle #',
['translationText3'] = 'Hairstyle color #',
['translationText4'] = 'Beard #',
['translationText5'] = 'Beard color #',
['translationText6'] = 'Eyebrows #',
['translationText7'] = 'Less',
['translationText8'] = 'Greater',
['translationText9'] = 'Eyebrows color #',
['translationText10'] = 'Makeup #',
['translationText11'] = 'Makeup color #',
['translationText12'] = 'Blush #',
['translationText13'] = 'Blush color #',
['translationText14'] = 'Lipstick #',
['translationText15'] = 'Lipstick color #',
['translationText16'] = 'Hairstyle color shade #',
['translationText17'] = 'Purchase | Price: $'..Config.price,
['translationText18'] = 'RMB',
['translationText19'] = 'Hold key to look around',
['translationText20'] = 'ESC',
['translationText21'] = 'Exit barber shop',
}
--Exports
--exports.Burevestnik_barbershop:bur_open_barbershop() --Exporting the opening of a barbershop (Client)
Optimization (The script consumes):
0.01 ms in a quiet state.
0.02 ms in an active state.
What does this system include:
TOP SALES
You may also be interested in my other resources:
Code accessible | Open source: Yes \ Escrow: No - Available only: config, ui |
Subscription based | No |
Lines (approximately) | ~1500 |
Requirements | Standalone: No \ ESX: skinchanger |
Support | Yes |
No approved reviews found for this script yet.