I've got an object in my game that I'd only want one player to be able to pick up at a time, like a key. I have everything working how I want it to (I think), but just wanted to make sure I'm doing things right and not creating a problem that would rear its head later on.
So currently, when a player goes to pick up an item it sends a command to the server containing the item's netID and the player who picked it up's netID. The server then sends a ClientRPC which contains the item's ID and...
Commands and ClientRPCs with pickupable items
So currently, when a player goes to pick up an item it sends a command to the server containing the item's netID and the player who picked it up's netID. The server then sends a ClientRPC which contains the item's ID and...
Commands and ClientRPCs with pickupable items