So I'm trying to do a kick player function and I just can't get it to work properly. The thing is I want the player to know why he was kicked, so I need to be able to send a string along with the kick, to tell the player what happened. (It could be an int with an id as well, but I do prefer the string method).
So here's what I'm doing:
[ClientRpc]
void RpcKick(string msg)
{
//If we are the server kick the client
if (Links.MS.IsHost)...
Kicking a player.
So here's what I'm doing:
[ClientRpc]
void RpcKick(string msg)
{
//If we are the server kick the client
if (Links.MS.IsHost)...
Kicking a player.