Jump to content

[استفسار ] : انتقال كاميرا


Recommended Posts

السلام عليكم ورحمة الله وبركاته
كيفكم؟
ابي سوي

local cj = getLocalPlayer()
bindKey ( "1", "down",
	function()
		if cj then
	outputChatBox("cj")
	local x1,y1,z1 = 2485.00000, -1667.00000, 86.20466
	local x2,y2,z2 = 2485.00000, -1667.00000, 20.20466
	local x3,y3,z3 = 2263.43066, -1658.47412, 15.21893
	local px, py, pz = getElementPosition(localPlayer)
	local xs,ys,zs = interpolateBetween ( x1,y1,z1, px, py, pz-20,0, "OutQuad")
	setCameraMatrix(xs,ys,zs,px, py, pz-20,0,0)
		else
	local xs2,ys2,zs2 = interpolateBetween ( x2,y2,z2, x2,y2,z2,0, "OutQuad")
	setCameraMatrix(x3,y3,z3,xs2,ys2,zs2,0,0)
	setCameraTarget (localPlayer) 
		end
	end
)	

ما حرك :(

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