Assign network view id to server's?

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.

If anyone knows, please tell me. Cheers

-Nevaran

I believe it’s a struct.
http://docs.unity3d.com/Documentation/ScriptReference/Network.AllocateViewID.html

I have not used struct, every.
Can you give me some example maybe?

And more importantly, how would it work so I can set the view id to server

Have you looked at the example in the script reference at all ? What other example would you need to understand ?

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

The server is a player but I doubt you can change the server’s id.

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?