3B00DG4MER Posted August 6, 2014 Share 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" ? Link to comment
Addlibs Posted August 6, 2014 Share Posted August 6, 2014 Don't call MoveObject on every frame... moveObject works on the principle of setElementPosition onClientRender Link to comment
3B00DG4MER Posted August 6, 2014 Author Share 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 Link to comment
Bonsai Posted August 6, 2014 Share 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 Link to comment
3B00DG4MER Posted August 6, 2014 Author Share 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 Link to comment
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