Well, it says it cant have return values. It means all replicated functions must be void. Because there’s a delay when calling function to the server.
I’m not sure if there’s anyway to synchronize client and server function.
But you can just put all the logic on the server side so that you don’t have to ask for a return value.
Like this:
The object calling this must be spawned from the server.
i see, didn’t think about the delay between the server and the client.
my case is a bit more complicated and includes inheritance, but ill look further into it. thank you!