Hello, Im trying to set members in struct but It wont allow me to… I set boolan to false and its still true
Event gotcha. It’s a copy. You can tick that tickbox all day long. You posted about it yourself…
Okay, but for getting struct from array im getting get ref always everywhere and when im passing item to another function pass by reff is ticked everywhere. So how I can set members on rpc
It does not work with Events, it never did. It works with Functions.
- this prints 0:
- this prints 5:
If this part of the script does not work, look for issues elsewhere, earlier, where the data might have been copied. For example, this will not work either: