3B00DG4MER Posted August 6, 2014 Posted August 6, 2014 Hi Guys, i have problem with Render, i tried to make moveObject in Event "onClientRender" but it get loop (mean MoveObject function will run as Event Canceled) how do i make the function run once time in event "onClientRender" ?
Addlibs Posted August 6, 2014 Posted August 6, 2014 Don't call MoveObject on every frame... moveObject works on the principle of setElementPosition onClientRender
3B00DG4MER Posted August 6, 2014 Author Posted August 6, 2014 Don't call MoveObject on every frame... moveObject works on the principle of setElementPosition onClientRender what i want to say dxMove from dxGUI resource
Bonsai Posted August 6, 2014 Posted August 6, 2014 No idea whats the point of this, but you could use something like a lock. state = true if state then move state = false end
3B00DG4MER Posted August 6, 2014 Author Posted August 6, 2014 No idea whats the point of this, but you could use something like a lock.state = true if state then move state = false end ty i'm using it now
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now