Jump to content

Objects view


Drakath

Recommended Posts

I have a script that creates an object and setCameraMatrix to view it. However when I exit that view the script does this: setCameraTarget(localPlayer). And when the camera is set back to player, player falls under the map.

I reported this issue here: http://bugs.multitheftauto.com/view.php?id=8736

But does anyone know a workaround for this?

function test1() 
setCameraMatrix(-1660, 1218, 100, -1658, 1209, 22) 
end 
addCommandHandler("test1", test1) 
  
function test2() 
setCameraTarget(localPlayer) 
end 
addCommandHandler("test2", test2) 

Link to comment

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