🔓Change menu (Open source)
If you want to change the menu and put that of your server it is possible go to the client/main.lua file
ESX.TriggerServerCallback("BarberShop:Buy", function(Success)
if Success then
-- Close menu
PlaySoundFrontend(-1, 'Bus_Schedule_Pickup', 'DLC_PRISON_BREAK_HEIST_SOUNDS', false)
GetHaircut()
print("Succes")
else
print("Failure")
end
end, {Type = Data.Type, Price = Data.Price})Last updated