Object/Entity viewer in NUI

So I’ve been working on a decoration NUI lately and would really like to have an model viewer build into the NUI before ‘buying’ the item…

I know I can just spawn the entity in front of the player, but I don’t really like it.

I’ve searched a bit around on google for model viewers and I found one that worked for me, but I don’t really want to convert every single object that’s in my decoration menu to an OBJ.

So I hoped that there is an way to create and object / entity in my NUI that acts as an model viewer.

Thnx :mascot:

1 Like

If the game is not visible while in the NUI you can use x-cfx-game-view and display an entity with chromakey

Here a rough example

That wasn’t really what I was looking for…

I would like an model viewer, here is an good example:

Source: https://modelviewer.dev/

But to do this, I would need to convert every single object out of my decoration menu to a .obj format…

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.