pro-mos Posted March 22, 2016 Share Posted March 22, 2016 (edited) i want to get the player moves, and when he hits [ key, he goes backward, just like going back in time. this is what i have so far not working as expected tho UPDATE: deleted not working code Edited March 26, 2016 by Guest Link to comment
pro-mos Posted March 24, 2016 Author Share Posted March 24, 2016 cant believe that i solved it! its actually working! i used element data instead of tables. now i can go backward and undo my moves ! Hell yeah ! Link to comment
pro-mos Posted March 26, 2016 Author Share Posted March 26, 2016 Sorry for the quality, had to downgrade the quality so the video uploads fast Link to comment
pro-mos Posted March 27, 2016 Author Share Posted March 27, 2016 The question is: can i use onClientRender event to store player movements instead of a timer of 50 ms, or it will take much resources and lagg on weak PC's? anyway nevermind, apparently im writing to myself Link to comment
Tox Posted March 27, 2016 Share Posted March 27, 2016 element data and table are the same things, however element data is synced on both client and server. if you want to store movements you'll want to store them in a table instead, and no i don't think it'd lag much if you set a limit for rewind time according to movements for example if it shows only 30 seconds back, it wouldn't lag much i guess, never tried something like that before though Link to comment
pro-mos Posted March 27, 2016 Author Share Posted March 27, 2016 element data and table are the same things, however element data is synced on both client and server. if you want to store movements you'll want to store them in a table instead, and no i don't think it'd lag much if you set a limit for rewind time according to movements for example if it shows only 30 seconds back, it wouldn't lag much i guess, never tried something like that before though yeah i did use tables, and thanks for the idea 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