I tried this out but could not get it working. Printing out NetworkPlayer gives a integer number, but it didnt work like that. So my question is what is used for the RPC call:
function RPC (name : string, target : NetworkPlayer, params args : object[]) : void