Data transferring order for RPC and CustomProperties

Options
I want to use RPC to notify all clients that CustomProperties (of a room or a player) have been changed.

First I change CustomProperties and then call RPC.

Following this order can I be sure that the RPC will be called on the clients after their CustomProperties get changed?

Comments

  • JohnTube
    JohnTube ✭✭✭✭✭
    Options
    Hi @develax,

    I think you are trying to reinvent the wheel because of this other issue.

    You might as well get rid of custom properties usage here and synchronize data using RPCs or RaiseEvent if you want to go down this way.