Set up admin rights for player hosts

Useful Tutorials.
Post Reply
User avatar
abg
Contributor
Contributor
Posts: 112
Joined: Mon Jan 12, 2015 6:09 am

i noticed on google search that only the game publisher has admin rights unless script in game is alted but i couldnt see answer with instructions how to change it, does anyone know where we edit this and what we should edit.
Here is what little i could find:
http://doc-api.exitgames.com/en/pun/cur ... 5e2c6eaed2

static bool PhotonNetwork.CloseConnection ( PhotonPlayer kickPlayer )
static

Request a client to disconnect (KICK). Only the master client can do this

Only the target player gets this event. That player will disconnect automatically, which is what the others will notice, too.

Parameters
kickPlayer The PhotonPlayer to kick.

Please help.
Image
Post Reply