- Home /
Question by
edouble · Jul 17, 2011 at 03:46 AM ·
flagged-for-close
FPS network not working HELP
Ok so i made a multiplayer server in unity my friend can connect fine but when he joins i control him and myself is there anyone out there that can help i have been trying to fix this problem for a long time.
Comment
Answer by George3064 · Aug 25, 2012 at 07:26 PM
Attach this script to the player object:
function Update () {
if (!networkView.isMine) {
GetComponent (FPSWalker).enabled = false;
this.enabled = false;
}
}
PS I have a tutorial series going at www.youtube.com/user/AveryDevelopers that does an FPS networked tutorial. It might help you out a bit and it explains why this works.
-George
Your answer
Follow this Question
Related Questions
a lower case i? 2 Answers
Gui Text Script 4 Answers
FPS gun clippes through walls 5 Answers