|
hi i got a question i want to activate my fps weapon and deactivate all other weapons i can deactivate it for my self but the other network players can see all my weapons i think i can fix this by using rpc but i dont know hot do you guys know somthing here some part of my code ( i know its wrong just somthing i tryed)
(comments are locked)
|

i got it :)
You could post the answer yourself and help others.
ok i placed the activate stuff ( PrimarySlot.gameObject.SetActiveRecursively(true); )
in an new function
and the ware i press button (1) then i call an RPC
networkView.RPC ("new function", RPCMode.All)
then it works
( srry for my english )