Stuyk / rebar-altv

Accelerate your game mode development with a simple alt:V framework written in TypeScript.
https://rebarv.com/
47 stars 24 forks source link

Webview texture replacement Wrapper #65

Open MnkyArts opened 1 month ago

MnkyArts commented 1 month ago

Would love if we had a wrapper for webviews on textures. Maybe even with audio (or even multichannel audio as @Dav-Renz requested) but dont know if that is in the scope.

Could be funny to use for server that want todo public viewing events, or even like in some FiveM Servers, that each tv prop can stream custom youtube videos, twitch streams etc.

heres the declaration: WebView(url: string, propHash: number, targetTexture: string): WebView

https://docs.altv.mp/js/api/alt-client.WebView.html#_altmp_altv_types_alt_client_WebView_constructor_1