Shopping Cart
FiveM script SNIPPET Stream Ped To PauseMenu Modding Tutorials

[SNIPPET] Stream Ped To PauseMenu – Modding Tutorials

[ad_1]

FiveM Modding Tutorial

Here there a code-snippet how get his own ped or anyone other player and stream it on screen, currently I donโ€™t know how change align of frontend, If someone already has knowledge about that, they are free to share.

Preview

I hope this can serve for great and fantastic resources.

Snippet

SetFrontendActive(true)
ActivateFrontendMenu(GetHashKey("FE_MENU_VERSION_EMPTY"), false, -1)

Citizen.Wait(100)
N_0x98215325a695e78a(false)

local PlayerPedPreview = ClonePed(PlayerPedId(), GetEntityHeading(PlayerPedId()), false, false)
SetEntityVisible(PlayerPedPreview, false, false)

Wait(200)
GivePedToPauseMenu(PlayerPedPreview, 2)
SetPauseMenuPedLighting(true)
SetPauseMenuPedSleepState(true)
Wait(6000) – Prevention
SetFrontendActive(false) – Prevention

[ad_2]

Original source: https://forum.cfx.re/t/snippet-stream-ped-to-pausemenu/2237976

Leave a Reply
FiveM ESX Scripts

The best scripts and maps

Best support

Problems? We are there to help!

Wide range of products

We have a wide range of products

100% Secure Checkout

Stripe