What's new

Request Can someone convert this code? ( Esx To QBus )

bl4ckhatx

Software
Joined
Nov 17, 2021
Messages
41
Solutions
1
Reaction score
32
Points
186
Location
Turkey
thats code have all ininde script. I dont find the converting "esx_skin:getPlayerSkin".



Code:
     ESX.TriggerServerCallback('esx_skin:getPlayerSkin', function(skin, jobSkin)
                             if skin.sex == 0 then
                                 TriggerEvent('skinchanger:loadClothes', skin, Config.Clothes.male)
                            else
                                  TriggerEvent('skinchanger:loadClothes', skin, Config.Clothes.female)
                             end
                             clothes = true
                              CreateSpawnBusBlip()
                              exports.pNotify:SendNotification({text = '<b>Bus Driver</b></br>Job started, get the bus out now!', timeout = 1500})
                          end)[[/COLOR]/CODE]
 
Top