Hey guys, can someone tell me how I can set a network view id to the server’s id (0) ?
I have tried a few ways , but it seems that the networkView.viewID is not an integer, strangely enough even if its using view id as numbers.
The reference shows how to set owner to player, but it doesn’t show how to set owner to server. I didn’t explain that so well but I hope you understand what I mean
No, not the server’s id, but the server network view on the object, as in the server player is the owner of the object
But I think ive got to some solution, now if players are connected, and THEN they started using objects and such, then it works fine, but if someone connects or reconnects, the object’s network view id seems to be different than the others’
I have the OnPlayerConnected and OnConnectedToServer functions to update the id, but I don’t think im doing it right, if you can check the code, it would be great. Skype maybe?