Jump to content

setElementPosition Client side


Dice

Recommended Posts

  • Moderators

If you set Element position of yourself, it will be synced for other players, but not directly.

player_sync_interval 100ms Default update time.

The time before this will be updated after the "setElementPosition" is between 1 t/m 100 milliseconds.

https://wiki.multitheftauto.com/wiki/Sy ... l_settings

When you set the position of another player, he will be updated back to his old position, unless he isn't streamed.

With this you can control that:

https://wiki.multitheftauto.com/wiki/Se ... Streamable

Link to comment
  • Moderators

Also about reconnect:

If you reconnect, then you will download the server information from the location from the element.

If the element do have sync_interval (ped/player vehicle) you will download the last element position.

https://wiki.multitheftauto.com/wiki/Se ... Streamable

SetElementStreamable, will only be managed at client side.

Note sync_interval, you can disable it by using: (this is server side)

https://wiki.multitheftauto.com/wiki/SetElementSyncer

Link to comment

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