Serius Posted May 12, 2020 Share Posted May 12, 2020 Hi everyone, I do scripts, but the script I make eats too many processors. Can you explain how to write an optimized script? ı'm using 'onClientRender'. Have a nice day Link to comment
Furzy Posted May 13, 2020 Share Posted May 13, 2020 (edited) reduce handlers, use more local variables, use tables(pairs looks more faster than ipairs) There's nothing much to do about onClientRender i think, just try not use much handlers with onClientRender. Edited May 13, 2020 by Furzy Link to comment
Scripting Moderators ds1-e Posted May 13, 2020 Scripting Moderators Share Posted May 13, 2020 2 hours ago, Serius said: Hi everyone, I do scripts, but the script I make eats too many processors. Can you explain how to write an optimized script? ı'm using 'onClientRender'. Have a nice day Show your code and i might help you with optimisation. (if possible) 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