Jump to content

Camera position not updating


Recommended Posts



mp.events.add('freeze', (player, x,y,z, xa, xs) => {
    let sceneryCamera = mp.cameras.new('default', new mp.Vector3(x-5, y, z), new mp.Vector3(0,0,0), 140);
    sceneryCamera.pointAtCoord(xa, xs, z); //Changes the rotation of the camera to point towards a location
    mp.game.cam.renderScriptCams(true, false, 0, true, false);
    moneyData.execute('var alertElement = $(\'<h2 style="color:#fff; text-align:center;">'+x+'</h2> \'); \

Edited by qMartis
Link to comment
Share on other sites

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...