Jump to content

[HELP] How to fix this problem in my loginpanel?


Tokio

Recommended Posts

i have a loginpanel, and i added this lines:

time = getTickCount()
x = 1000
y = 200
z = 20
function anim()
		x = x+0.31
		y = y+0.32
		setCameraMatrix(x,y,z, 0, 0, 0)
	if (getTickCount() - time >= 5000) then
		removeEventHandler("onClientPreRender", getRootElement(), anim)
	end
end
addEventHandler("onClientPreRender", getRootElement(), anim)

but when i log in, how to set camera to the player? because when i login, the loginpanel disappear, and the camera stay there :S 

sorry for my bad english :c

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