Jump to content

Objects Lag


Forrest

Recommended Posts

  • Moderators
Posted

AFAIK, functions from serverside have less lagg impact, because they are using just 1 function.

https://wiki.multitheftauto.com/wiki/LoadMapData

And when you are loading them on clientside, you need a lot of functions per object to set their properties.

Do you want to improve your Lua programming skills and make less mistakes?   Start with Lua Language Server!   🙀

 

  Useful functions  3x 

  Tutorials  4x 

 

Posted

in fact, if you're creating something clientside, the actual objects are stored and created clientside, thus resulting into a client lag (depending on the map size). If you perform the same thing serverside, the client will have less impact, but the server might slow down for 1-3 seconds (depending on the map size agaib), but the objects removal might also be very slow (destroyElement on about 8000 objects might take 5 seconds of frozen server)

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