Jump to content

setCameraTarget problem


FWCentral

Recommended Posts

ok i used setCameraMatrix and it changes positions on its own, One time its in one place the next when i restart its moved without me editing it. (NVM working now :P) Thanks solidsnake!

Edit: Its still doing the error i mentioned above :(

if your making a loginGUI then do something like this

function onJoin() 
    outputChatBox("YOur Things") 
end 
addEventHandler("onPlayerJoin", getRootElement(), onJoin) 
addEvent("playerJoinResourceStart", false) 
addEventHandler("playerJoinResourceStart", getRootElement(), onJoin) 

Link to comment

Nah that works fine, its:

veh = createVehicle(560, -1655.89819, 1211.46692, 20.5659,0,0,60)

setCameraMatrix(-1658.09436, 1219.95898, 22.1562)

That makes it go to the right place, Works fine - When i reconnect to the server this will be the exact same script but it will be in a different direction.

EDIT

Seems to be working fine now, Didn't change anything :P

EDIT

And now its not :P

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