Players don't move
#1

Hi. Well my bug is this: When a player spawn, the other players see him frozen, but he moves. It's the same with every players, admin or not. Sometimes, the position in the map updates but the guy still frozen for the others. I don't know where it comes from because it never happened to me before. I was scripting my gamemode, uploaded it to my dedicated server and I saw this testing new features with a friend. So, any ideas?
Reply
#2

Your OnPlayerUpdate callback should return 1, and not 0.
Reply
#3

Oh there was the problem. Thank you very much How a little return 1; can change a things in the gamemode ^^
Reply
#4

Quote:
Originally Posted by Fabio11
Oh there was the problem. Thank you very much How a little return 1; can change a things in the gamemode ^^
You're welcome.

Yep:
Quote:
Returns 0 - Update from this player will not be replicated to other clients.
Returns 1 - Indicates that this update can be processed normally and sent to other players.
Reply
#5

I have It in retur 1 and still have the problem pleas help
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)