#I have a ui problem

1 messages · Page 1 of 1 (latest)

fierce pine
#

everytime i try to put 2 player inside my game, The client takes the host ui data which is the stamina fill, so everytime you sprint the staminabar dosent decreases for the host but only client.

sry this is my first time working on a multiplayer game

#

this is the code for the stamina ui

#

and here is the funtion on owner

charred lotus
#

Is this code on the player? You would only set the StaminaBar if this player isLocalPlayer = true

fierce pine
#

yes this is the online fps controller

fierce pine
#

like a monobehaviour

charred lotus
fierce pine
#

oki

fierce pine
#

i see what i can do