I am trying to render player ped on NUI. It seems the only option to render a player is via gamepaused and it cant appear above NUI. Is there any workaround for that? Exporting current ped to PNG (without any background behind it) can also work just didn’t manage to figure out how to do it. I will be using it to display the current player on an Inventory I am making.
We are already doing that but it means we’ll have to teleport the actual player to the green screen and not a cloned ped. Is there a way to take a screenshot without running it through a client?
And sadly the Rage Engine doesn’t allow for multiple cameras. At least as far as I know and noone has ever done such a thing, nor have I seen it being used in GTA itself.
(e.g. in the Unity Engine you could have a camera pointing to somewhere else and then get the screenshot from that camera without the player being able to see any of it)
For copy, clone ped, don’t display on NUI, but it’ll be best way to do it, just hidden current ped, show cloneped, and fix it to your design. I remember i have put and example on cfx, let me find it and give you the link.