so if my moves for my combat system happened on the client before telling the server for the move to happen and the client can’t do moves if they’re stunned which is something determined by the server how does the client prevent a move from happening if the server is in the process of telling the client they’re stunned and can’t do moves
i usually have another check on the server so when a client tells the server to do a move while the server is in the process of telling the client that it’s stunned and can’t do a move the animations and sounds for that move will play, just for nobody else