[FREE] [ESX] Brp-fivem-appearance

amazing bro

2 Likes

The original creator fixed that about a month ago

What about this

TriggerEvent('skinchanger:loadSkin', skin, function()
                playerPed = PlayerPedId()
                SetPedAoBlobRendering(playerPed, true)
                ResetEntityAlpha(playerPed)
                TriggerEvent('esx_skin:openSaveableMenu', function()
                    finished = true end, function() finished = true
                end)
            end)
1 Like

Or this?

TriggerEvent('esx_skin:openSaveableMenu', function()
					finished = true end, function() finished = true
				end)

work with qbus?

VIDEO PREVIEW: FIVEM CHARACTER CREATION & CLOTHING STORE SCRIPT | PROJECT ROGUE | https://discord.gg/msuR44FR2y - YouTube

I’ll look at the support when using esx_multicharacter. Though it might be an idea to add event handlers for skinchanger/esx_skin rather than having to use the exports (assuming similar usage).

Loading the skin the same way as ESX would be an idea too (no callback, just get it with the initial load).

1 Like

Thanks for looking at that it’s just kind of hard for me to help him since I haven’t switch to that that yet if there’s any changes you need to do to it just send a pull request I’m going to look into optimizing it more probably starting by switching it to Poly Zones

Sorry what does this script actually do? Allow you to change colors of things?

1 Like

Bruh I legit posted a freaking video showcasing what it does lol…

is there any way to make this into 3 menus
Clothing shop
Barbershop
Character Creation

is that possabile

It’s already clothing shop, barbershop, but no skin"shop". But it’s super easy to make that :smiley:

i still new to coding, so trying to work it out

That’s allowed, a hint is to check how the barber shop is, check how the config on that are, and how the check for if a player is near

How do i fix this?

You need to make the change to nh context

    RegisterNUICallback("dataPost", function(data, cb)
        SetNuiFocus(false)
        TriggerEvent(data.event, data.arg1, data.arg2, data.arg3)
        cb('ok')
    end)

Also i don’t know if its just me or not but everytime i log into the server it turns me into an girl ped and i have to do /reloadskin everytime

Thank you

1 Like

For anyone wanting admins to be able to still do /skin add this es_extended/server/commands.lua at the bottom

ESX.RegisterCommand("skin", 'admin', function(xPlayer, args, showError)
	xPlayer.triggerEvent('esx_skin:openSaveableMenuAdmin', source)
end, false)

This will allow them to be able to utilize the entire thing in one place.

For those of you who want a complete character customization shop, I have this up for you. Here you are.

Open fivem-appearance/client.lua and paste this at the bottom

RegisterNetEvent('esx_skin:openSaveableMenuAdmin')
AddEventHandler('esx_skin:openSaveableMenuAdmin', function(submitCb, cancelCb)
	local config = {
		ped = true,
		headBlend = true,
		faceFeatures = true,
		headOverlays = true,
		components = true,
		props = true
	}
	
	exports['fivem-appearance']:startPlayerCustomization(function (appearance)
		if (appearance) then
			TriggerServerEvent('fivem-appearance:save', appearance)
			submitCb()
		else
			cancelCb()
		end
	end, config)
end)

Then just trigger that event where you want to be able to open an entire customization menu that lets you skin your entire character!

Hope this help!

Project Rogue

1 Like

How to fix this