uielements in hashmap

  • im working on a plugin where i have some uielements stored in in a hashmap. for some reason everytime another player joins all uielements are removed from all other players and added to the new player. im using the hashmap like you would use an array to add gameObjects.


    any input would be helpfull. i have also tried cloning the hashmap so the player as their own cop but still got the same behavior.

  • after some testing i think it has something to do adding the element as a child of another element. if i do player.adduielement it syncs to both players just fine tho its not attached to a parent. if i use the same code and add it as a child of another uielement it no longer syncs correctly.

Participate now!

Don’t have an account yet? Create a new account now and be part of our community!