Hi!
I’m using “Add-On Peds” to set the playermodel into a modded shepherd, i can see the stream model but anyone see me. How i can sync others to see the stream model? Thanks anyway
I’m guessing that you need RequestModel native. You can put that onPlayerSpawn or a thread (not in a loop) so when someone joins the server he will have model already loaded.
Hi! First thanks for your time. How i can do that? Thanks
Citizen.CreateThread(function()
while ESX == nil do
Citizen.Wait(500)
end
RequestModel(GetHashKey("model"))
while not HasModelLoaded(GetHashKey("model")) do
Citizen.Wait(500)
end
end)
You can try that, but instead of a model put the name of ped here. So I suppose it’s a_c_shepherd. Don’t remove " ".
I will try it! Thanks <3
No problem
Hi! That’s need to be placed into server.lua or its wrong there? (resourcename/server.lua i mean)
No, this needs to be in the client.lua.
Needs to be a new resource o could be placed into a normal one ( inside client.lua of the main addon of the skin menu)
It can be a normal one.
Not working . Any more ideas?
Send me the link to the resource that you are using for setting player model.
Did you see another menu for peds model? Or how to sync it
Well, if you are using ESX you can simply create a new menu function for it and put different skins there. Check esx_policejob and CloakroomMenu for reference if you don’t know how to create such a menu. If you are not using ESX, you can try making it in NativeUI.