0Resmon
0Resmon
0Resmon
  • 0Resmon Documentation
  • What is FiveM Escrow ?
  • Open Source and Escrow
  • 0R Lib
  • 0R RESOURCES
    • 0R House Robbery
      • ⚠ïļImportant
      • 📁Required Items
      • ⚙ïļConfiguration
    • 0R Manageable Casino
      • Required Dependencies
      • Required Item
      • Required Job
      • Base Configuration
    • 0R HolsterAnim
      • OX Inventory
      • QB Inventory
    • 0R Drug Business
      • Installation
      • Configuration
    • 0R Multicharacterv2
      • Installation
      • Configuration
    • 0R ATM Robbery
      • Installation
      • Configuration
    • 0R HEIST
      • DUI
        • Installation
        • Configuration
        • Exports
      • Vangelico
        • Installation
        • Configuration
        • Exports
      • Pacific Bank
        • Installation
        • Configuration
        • Exports
    • 0R Garbage
      • Installation
      • Configuration
    • 0R Gungame
      • Installation
      • Configuration
      • Exports
    • 0R Paintball-v2
      • Installation
      • Configuration
      • Exports
    • 0R Hud V3
      • Installation
      • Configuration
      • Exports
      • Events
    • 0R Apartments - V2
      • Installation
      • Configuration
    • 0R PixelHouse
      • Installation
      • Configuration
      • Exports
      • DLC
    • 0R Caravan
      • Installation
      • Configuration
    • 0R Multicharacter
      • Installation
    • 0R Houses
      • Integrators and Exports
      • Installation
    • 0R Casino
    • 0R Motels
      • Installation
      • Configuration
    • 0R VIP System
      • Installation
      • Configuration
    • 0R IDCard
      • Installation
      • Configuration
    • 0R IDCard V2
      • Installation
    • 0R Pausemenu
      • Installation
    • 0R Studio
      • Installation
    • 0R Handcuff System
      • Installation Handcuff
    • 0R Easy Time
      • 0R Easytime
    • 0R Lockpick
      • Installation
    • 0R Target
      • Installation
    • 0R Textui
      • Installation
    • 0R Fishing
    • 0R Carplay
    • 0R Hacking Mini Game
  • S4 Resources
    • ILLEGAL CARAVAN
      • Adaptations
    • s4-time
      • First Install
      • Exports
      • Config Var's
    • Illegal Phone
      • Installing, Faq & Features
      • Voice Script Adaptation
      • Other Phone Integrations
      • Task's - Location Messages
      • Data sharing
    • Breathalyser
      • API
    • Res Audio
      • Installation
      • Configuration
    • S4 Housing (BETA)
      • Claim
      • Installation
      • Permissions
      • Add House
      • Adaptation (Wardrobe)
      • Adaptation (Stash)
      • Adaptation (Garage)
    • S4 House
      • Installation
    • S4 Report System V2
      • Installation
      • Why videos not uploading?
    • S4 Health System V2
      • Installation
      • Adapting Custom Ambulance Job
      • Bleeding Adjustment
      • How To Add Custom Items
      • Required Items
    • pizza
    • s4-adminmenu
      • First Install
      • Adaptations
      • Video Recording Adaptation
  • KIBRA RESOURCES
    • Kibra Mechanics
      • Installation
      • Configuration
    • Kibra SmartPad
      • Installation
      • Configuration
    • Kibra Vehicleshops
      • Installation
      • Configuration
    • Kibra Core
      • Installation
    • Kibra Dispatch
      • Installation
      • Exports And Configure
  • BP RESOURCES
    • BP MAPUI
      • Config Settings
      • Exports, Events
      • Test Command
    • BP DRONE
      • Config Settings
    • BP INVENTORY
      • 🧠Installation
      • ðŸŠķConfig Settings
        • 🊁Config_items.lua settings
        • 🚕Config_vehicle.lua settings
      • ⚔ïļExport and Events
      • 👕Clothing Settings
      • ðŸđWeapon settings
    • 👕BP CLOTHING V4
      • 🧠Installation-c
      • ðŸŠķConfig Settings
        • 🎓Char Create Config
        • 🎓Clothing Store Config
        • 🎓Barber Store Config
        • 🎓Tattoo Store Config
      • ⚔ïļExport and Events
      • ðŸĪŠCharacter creation settings
    • BP GARAGE
      • 🧠Installation
      • ðŸŠķConfig Settings
      • ⚔ïļExport and Events
      • ❓What is JSON files
      • ðŸ–ąïļCommands
  • FRKN Resources
    • Frkn Racing
      • 🧠Installation
      • ⚔ïļFeatures Overview
      • ðŸŠķConfig Settings
      • 🏆Items
    • Frkn Camera System
      • 🧠Installation
      • ⚔ïļUsage
      • ðŸŠķConfig Settings
      • 🏆Items
    • Frkn Tuning System
      • 🧠Installation
      • ⚔ïļUsage
      • ðŸŠķConfig Settings
      • 🏆Items
    • Frkn Doorlock V2
      • 🧠Installation
      • ðŸŠķConfig Settings
      • ⚔ïļCommands
    • ⛩Frkn Bank Heist
      • Installation
      • 🛠ïļConfig Information
      • Script Usage
    • 🎭Frkn Hack System
      • Installation
      • Config Information
      • 🛠ïļPH Panel Introduction
        • 💰PH Robbery Contracts
        • 📜PH Hire Contracts
        • 🙅‍♂ïļPH Group Members
        • ðŸ“ĒPH Announcements
      • 🔓Crack App Introduction
      • 🛜Salty App Introduction
      • ðŸ•ķïļDark Store App Introduction
      • ⛏ïļMiner App Introduction
      • 🔗Miner Extension App Introduction
      • 🚁Drone App Introduction
      • ðŸ’ģWallet App Introduction
      • 🗒ïļNote App Introduction
      • ðŸĶBank Heist
    • Frkn Minigame Pack
      • Riddle Minigame
      • Xox Minigame
      • Stick Minigame
      • Letter Minigame
    • Lab Pet V3
      • 🧠Installation
      • ðŸŠķConfig Settings
      • âļïļUsage Description
    • Frkn Money Washing
      • 🧠Installation
      • ðŸŠķConfig Settings
      • ⚔ïļCommands
      • 🏆Items
    • Frkn Deathscreen V3
      • 🧠Installation
      • ðŸŠķConfig Settings
    • Frkn Doorlock
      • 🧠Installation
      • ðŸŠķConfig Settings
      • ⚔ïļCommands
    • Frkn DrawText
      • 🧠Installation
      • ðŸŠķConfig Settings
      • ⚔ïļExport and Events
    • Frkn Fuel Station V4
      • 🧠Installation
      • ðŸŠķConfig Settings
      • ⚔ïļExport and Events
    • Frkn Death Screen V2
      • 🧠Installation
      • ðŸŠķConfig Settings
      • ⚔ïļExport and Events
    • Frkn Craft V2
      • 🧠Installation
      • ðŸŠķConfig Settings
      • ⚔ïļExport and Events
  • Wais Resoucres
    • ⚒ïļWais Jobpack
      • ⚙ïļHow to set it up
      • 🎛ïļFramework settings
      • 🗂ïļInstall Jobs / Items
      • 🊚Job Settings
        • 🍕Pizza Delivery
        • 🗞ïļNews Delivery
        • 🌭Mobile Hotdog
        • ðŸĶšForklifter
        • ☘ïļGardener
        • 🚚Trucker
        • ⚒ïļRoadhelper
        • 🚌Bus Driver
        • ðŸ”ĨFire Department
        • ðŸĶ…Hunting
        • ðŸ‘Ļ‍ðŸĶŊDetectorist
        • 🚗Project Car
        • ðŸĪŋDiver
        • 🧑‍ðŸŒūFarmer
        • ðŸ‘Ļ‍🔧Electrician
      • ❓FAQ / Errors / Questions
      • ❓Error: syntax error near '<\1>'
      • ❓How To Do
    • ðŸŽđWais Studio
      • 🔌Installation
        • 🔑Create API Key
        • 🎛ïļFramework settings
        • ðŸ“đStreaming Settings
      • ðŸŽķCreate, Settings Studio
      • ❓FAQ / Errors
      • 📚Handbook
    • 🎭Wais Club
      • ⚙ïļHow to set it up
      • 🎛ïļFramework settings
      • ðŸ”ŪAdd / Edit Club Things
      • ðŸ”ĶSpotlight Creator
      • 💃Npc Creator
      • 🔐YouTube API Stuff
      • ❓FAQ / Errors / Questions
      • ❓Error: syntax error near '<\1>'
    • Wais Multicharacterv2
      • ⚙ïļHow to set it up
      • 📒Installation ESX
      • ðŸ”ŪInstallation QBCore
        • ðŸ’ĄOld QBCore Adapt
        • ðŸ’ĄNew QBCore Adapt
      • âœĻInstallation Qbx
        • ðŸ’ĄIntegration Qbx_core
      • ðŸĄApartment Integration
      • 🔄Bringing old characters
      • 📜Starer Items
      • 🔑Slot Actions
      • 🔐Discord Authenticator
      • 🛒Tebex Authenticator
      • 🌏Spawnselector / Spawn
      • ðŸ“ĶHide / Open Another UI'S
      • 📋Change Language
      • ❓Kicked For Explotation
    • Wais Bodycamv2
      • ⚙ïļHow to set it up
      • 🎛ïļInstallation Items
      • 🌟Adapt Framework
      • 🙋‍♂ïļAdd Job
      • 🗚ïļBadge Things
      • ðŸ“ļScreen Recording
      • 📷Prop System
      • 📃Change Language
      • ❓How to?
    • Wais Evidence
      • ⚙ïļHow to set it up
      • ðŸ”ĐInstallation Items
      • 🏓Adapt Framework
      • ðŸ”ŦWeapon Things
      • ðŸ‘ŪAdd Job
      • 📋Change Language
      • ðŸŽŊErrors / Questions
    • Wais Hudv5
    • Wais Rhud
  • Stache Resources
    • Stache Phone
      • ðŸ“ąInstallations
      • ⚙ïļConfiguration
      • 🛠ïļCustom App
      • 📖S.S.S.
  • GENIUN RESOURCES
    • 0R Clothing
      • ⚙ïļInstallation
      • 🛠ïļConfigration
      • 🧰Exports & Callbacks
      • ðŸ“ļHow to take photos of clothes?
Powered by GitBook
On this page
  • ESX MULTICHAR AND IDENTITY
  • PROOF OF WORK
  • QB MULTICHAR AND INTERIOR
  • PROOF QB MULTICHAR
  • illum-appearance description
  1. BP RESOURCES
  2. BP CLOTHING V4

Character creation settings

PreviousExport and EventsNextBP GARAGE

Last updated 10 months ago

ESX MULTICHAR AND IDENTITY

ESX MULTICHAR EDIT

esx_multicharacter > client.lua > find esx:polayerloaded event. Stop esx_skin, skinchanger events here.

	RegisterNetEvent('esx:playerLoaded')
	AddEventHandler('esx:playerLoaded', function(playerData, isNew, skin)
		local spawn = playerData.coords or Config.Spawn
		if isNew or not skin or #skin == 1 then
			local finished = false
			skin = Config.Default[playerData.sex]
			skin.sex = playerData.sex == "m" and 0 or 1
			local model = skin.sex == 0 and mp_m_freemode_01 or mp_f_freemode_01
			RequestModel(model)
			while not HasModelLoaded(model) do
				RequestModel(model)
				Wait(0)
			end
			SetPlayerModel(PlayerId(), model)
			SetModelAsNoLongerNeeded(model)
			-- TriggerEvent('skinchanger:loadSkin', skin, function()
			-- 	local playerPed = PlayerPedId()
			-- 	SetPedAoBlobRendering(playerPed, true)
			-- 	ResetEntityAlpha(playerPed)
	        --    TriggerServerEvent('els_creation:control')

			-- 	TriggerEvent('esx_skin:openSaveableMenu', function()
			-- 		finished = true end, function() finished = true
			-- 	end)
			-- end)
			finished = true
			repeat Wait(200) until finished
		end
		DoScreenFadeOut(100)

		SetCamActive(cam, false)
		RenderScriptCams(false, false, 0, true, true)
		cam = nil
		local playerPed = PlayerPedId()
		FreezeEntityPosition(playerPed, true)
		SetEntityCoordsNoOffset(playerPed, spawn.x, spawn.y, spawn.z, false, false, false, true)
		SetEntityHeading(playerPed, spawn.heading)
		if not isNew then TriggerEvent('skinchanger:loadSkin', skin or Characters[spawned].skin) end
		Wait(400)
		DoScreenFadeIn(400)
		repeat Wait(200) until not IsScreenFadedOut()
		TriggerServerEvent('esx:onPlayerSpawn')
		TriggerEvent('esx:onPlayerSpawn')
		TriggerEvent('playerSpawned')
		TriggerEvent('esx:restoreLoadout')
		Characters, hidePlayers = {}, false
	end)

IDENTITY EDIT

esx_identity > main.lua RegisterNUICallback( find the ‘register’ part and add the charcreate event like this.


RegisterNUICallback('register', function(data, cb)
        if not guiEnabled then
            return
        end

    

        ESX.TriggerServerCallback('esx_identity:registerIdentity', function(callback)
            if not callback then
                return
            end

            ESX.ShowNotification(TranslateCap('thank_you_for_registering'))
            setGuiState(false) 

            TriggerEvent('bp_charcreate:create')    

            if not ESX.GetConfig().Multichar then
                -- TriggerEvent('esx_skin:playerRegistered')
            end
        end, data)
    end)

PROOF OF WORK

QB MULTICHAR AND INTERIOR

QB MULTICHAR EDIT

qb-multicharacter > main.lua > find the qb-multicharacter:client:closeNUIdefault event . Here disable the qb-clothing event and put the bp_charcreate event

RegisterNetEvent('qb-multicharacter:client:closeNUIdefault', function() -- This event is only for no starting apartments
    DeleteEntity(charPed)
    SetNuiFocus(false, false)
    DoScreenFadeOut(500)
    Wait(2000)
    SetEntityCoords(PlayerPedId(), Config.DefaultSpawn.x, Config.DefaultSpawn.y, Config.DefaultSpawn.z)
    TriggerServerEvent('QBCore:Server:OnPlayerLoaded')
    TriggerEvent('QBCore:Client:OnPlayerLoaded')
    TriggerServerEvent('qb-houses:server:SetInsideMeta', 0, false)
    TriggerServerEvent('qb-apartments:server:SetInsideMeta', 0, 0, false)
    Wait(500)
    openCharMenu()
    SetEntityVisible(PlayerPedId(), true)
    Wait(500)
    DoScreenFadeIn(250)
    TriggerEvent('qb-weathersync:client:EnableSync')
    TriggerEvent('bp_charcreate:create')
    -- TriggerEvent('qb-clothes:client:CreateFirstCharacter')
end)

QB-INTERIOR EDIT

qb-interior > main.lua >CreateApartmentFurnished export . Here disable the qb-clothing event and put the bp_charcreate event

exports('CreateApartmentFurnished', function(spawn)
    local exit = json.decode('{"x": 1.5, "y": -10.0, "z": 0, "h":358.50}')
    local model = 'furnitured_midapart'
    local obj = CreateShell(spawn, exit, model)
    if obj and obj[2] then
        obj[2].clothes = json.decode('{"x": -6.028, "y": -9.5, "z": 1.2, "h":2.263}')
        obj[2].stash = json.decode('{"x": -7.305, "y": -3.922, "z": 0.5, "h":2.263}')
        obj[2].logout = json.decode('{"x": -0.8, "y": 1.0, "z": 1.0, "h":2.263}')
    end
    if IsNew then
        SetTimeout(750, function()
            TriggerEvent('bp_charcreate:create')
            -- TriggerEvent('qb-clothes:client:CreateFirstCharacter')
            IsNew = false
        end)
    end
    return { obj[1], obj[2] }
end)

PROOF QB MULTICHAR

illum-appearance description

For illenium-appearance you need to set in illenium-appeluarance > client > framework > esx or qb > compatibility.lua.

👕
ðŸĪŠ