Hey everyone!
I have been looking around the forums for ages and can’t find how the NetworkPlayer class should be used. Both the scripting reference and manual aren’t exactly very detailed in it either!
A game client has connected to a network. I would then like it to send its ‘NetworkPlayer’ information in an RPC. Attempting to use RPC(“function”,RPCMode.Server,name,NetworkPlayer); doesn’t work and results in failure to send the RPC (with ‘function’ having the parameters (name:String,player:NetworkPlayer) ). Can anyone help out?
Thanks!
P.S: I would reccommend adding more detail into the scripting reference, as ‘The NetworkPlayer is a data structure with which you can locate another player over the network.’ isn’t exactly as informative as it could be