Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issues with redm #81

Open
jamiemc71 opened this issue Dec 3, 2023 · 3 comments
Open

issues with redm #81

jamiemc71 opened this issue Dec 3, 2023 · 3 comments

Comments

@jamiemc71
Copy link

hello.
ive added the prop for the theater as follows into the config
[p_magiclantern01x] = { label = "theater", renderTarget = "bla_theater" },

but for some reason i still cant get pmms to pick up that the player is there.

would you happen to know what im missing or how to make this work in redm please? ive been trying for over a week before reaching out to you guys

many thanks
@kibook
Copy link
Owner

kibook commented Dec 3, 2023

I'm not too active in FiveM or RedM mod development lately, but last I heard RedM did not support DUI and so render targets can't be used. The RedM version of this resource maintains the old method of displaying the video above the player with NUI instead because of that. Check the video box when playing something to enable the floating video screen above the object, and with the right placement you can somewhat fake it as being displayed on an actual theatre screen in the game.

@jamiemc71
Copy link
Author

I'm not too active in FiveM or RedM mod development lately, but last I heard RedM did not support DUI and so render targets can't be used. The RedM version of this resource maintains the old method of displaying the video above the player with NUI instead because of that. Check the video box when playing something to enable the floating video screen above the object, and with the right placement you can somewhat fake it as being displayed on an actual theatre screen in the game.

thank you for taking the time to reply. i got the video to play in the end but above an object as you said above. and for some reason i just cant get it to be placed on the theatre screen, sadly i don't understand code very well which is a shame as i have a script that can show films to the screen like a projector but they have no plans to add something like YouTube to it so im pretty much stuck with what it comes with.

thanks for your time

@kibook
Copy link
Owner

kibook commented Dec 5, 2023

Is that script open source? If there's a way to use DUI in RedM now, it may be possible for me to update this script in the same way. The FiveM version of this script does display videos on TVs using DUI, but this is disabled for RedM because, at the time, it was said that RedM didn't support that feature yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants