Jump to content

The big CTRL+V topic.


Aeron

Recommended Posts

  • Replies 658
  • Created
  • Last Reply

Top Posters In This Topic

function trace(source)

local x, y, z = getCameraMatrix(source)

if x and y and z then

outputChatBox("Your Camera Positions are x: "..(x).."; y: "..(y).."; z: "..(z),source)

else

outputChatBox("Test!!!",source)

local x1,y1,z1 = getElementPosition(source)

setCameraMatrix(source,x1,y1,z1+3,x1,y1,z1) -- this would set the camera looking down at you

x, y, z = getCameraMatrix(source) --replace the current vars

outputChatBox("Your Camera Positions are x: "..(x).."; y: "..(y).."; z: "..(z),source)

setTimer(setCameraTarget,7000,1,source,source)

setTimer(setCameraTarget,7000,1,source,source)

end

end

addCommandHandler("t",trace)

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