Fullbody PED inside Menu

In the heist “pause” menu there is a copy of your actual PED embedded inside the UI. I’m keep to see if anyones been able to locate where that is generated and how. I’ve looked as much as I can into the Scaleforms and can’t seem to find evidence of it there either…

2 Likes

I don’t have the exact answer, however @Vespura has done some research on this I believe, he made this GitHub Repository;

and this forum topic;

Hopefully this can point you in the right direction.

3 Likes

Yes that’s possible.

Natives used (when the frontend menu is already active and configured):

6 Likes

@Vespura YOU ARE A DEADSET LEGEND… thank you so much for sharing… this is awesome.

Now the trick is to somehow get it to display in 2D state… as thats the part that i’m also trying to figure out, as in how to take the said clone ped and display it back on screen like the above.

Hey, did you found how to get only fullbody and convert it into image/TXD?


How i change img in red circle?

Is it possible to display the ped in a different position? I would like to show it on the left side of the user’s screen

2 Likes

Can i change the heading of entity on this frontend menu?

Hi, I wonder if you can show me how to open this menu?

1 Like

Converted from JS code but should work the same.

local menuType = "FE_MENU_VERSION_EMPTY_NO_BACKGROUND" --full list: https://docs.fivem.net/natives/?_0xEF01D36B9C9D0C7B
ActivateFrontendMenu(GetHashKey(menuType), false, -1)
Wait(100)
local clonedPed = ClonePed(PlayerPedId(), 0, false, false)
FreezeEntityPosition(clonedPed, true)
N_0x4668d80430d6c299(clonedPed)
GivePedToPauseMenu(clonedPed, 2)
SetPauseMenuPedLighting(true)
SetPauseMenuPedSleepState(true)
RequestScaleformMovie("PAUSE_MP_MENU_PLAYER_MODEL")
8 Likes