I try to do this, but it isnt work.... because I cant synch name string... Why?
In characters:
- I get my photon view own name string and put in a global string as [Myname]
Admin:
He can open a textfield, and after he type a good code, he Instantiate a admingameobject.
In this Admingameobject he can open a:
Photon guiLayout toolbar with players (so he get a clickable playerlist..)
And after he pick player, the player name set in a string, and this string set in the Admingameobject [Name (synch)] varriable (every frame) and this is checked to synch on network
If you not owned this admingameobject, the photon mine go to check state..
If my name string = picked synch name string -> I leave room (kick myself
)
Ok it is good, but.... The [Name string synch varriable] dont send anything...
This string varriable is empty over the network... But the position and rotation is good synched..
so the connection is perfect..The string isnt synchable? I cant synch strings?
If not How can I get [Int] ID from player list?
the problem is the player list output name string and int, but not ID..
and I cant synch string
"The selection event int data contains the player index" it also isnt work...
I every pick get 0 so...
This player list toolbar very useless... because now the only ways get the target player in a gameobject and now i can get the id.. but it is very useles..
because If the player run, or anything, I need capture him.. for create gameobject varriable with example mouse pick...