Jump to content

[WIP] [CEF] Cinema


lopezloo

Recommended Posts

  • 3 weeks later...

Updated code. Now it's working with r6789 browser branch (http://jusonex.net/public/mta/awesomium/full-r6798.exe).

Test map: https://mega.co.nz/#!CBg3EJaJ!3RjlWmODo ... 2I-4VbEtyU

I have a question, where can I find items that room in the game? and how to run movies

You need use build in function, it's based on colshape. Syntax:

exports.cinema:createRoom(string roomName, table screenObjects, float x, float y, float z, float width, float depth, float height) 

x, y, z, width, depth, height are arguments from createColCuboid.

If you already got map enter to the room and press B to open request menu.

You will upload this script in community ?

Yes, but first browser branch must be be implemented.

Link to comment

HELP :(

when loaded into the resources / gameplay it pops up an error in the console

ERROR: cinema-maptest2/mapEditorScriptingExtension_s.lua:13: exports: Call to non running server resource

ERROR: cinema-maptest2/mapEditorScriptingExtension_s.lua:9: exports: Call to non running server resource

Link to comment

Fixed requesting videos from YT playlists.

Also Twitch changed their API and it's no longer works without SSL (https) so I can't check if channel is online etc. (fetchRemote doesn't support SSL). Currently requesting twitch streams doesn't work.

To what file to give this code ?

exports.cinema:createRoom(string roomName, table screenObjects, float x, float y, float z, float width, float depth, float height)

You need this to make own map. If you just want test that download gamemode & map and start "cinema" resource.

Link to comment
  • 10 months later...
  • 4 weeks later...
  • 9 months later...
  • 3 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...