Posts: 1,290
Threads: 69
Joined: Dec 2006
Reputation:
0
Title says it all. When a player streams in for another player and they are paused they will be facing north (0.0) until they unpause then their facing angle is updated properly for other players.
Posts: 3,133
Threads: 71
Joined: Dec 2013
Reputation:
0
That's because paused players don't send data to the server. That's the reason why AFK systems are able to detect when a player AFK's - OnPlayerUpdate stops being called. Simply, it's meant to be this way.
Posts: 1,167
Threads: 57
Joined: Jul 2010
Reputation:
0
It returns last received angle I believe.
Posts: 1,290
Threads: 69
Joined: Dec 2006
Reputation:
0
Yeah so if GetPlayerFacingAngle returns the correct angle there's no reason for the player to be facing north paused or not.
Posts: 241
Threads: 8
Joined: Dec 2014
Reputation:
0
Er.. seems to be criticel
Posts: 77
Threads: 7
Joined: Nov 2011
Reputation:
0
Sorry for bump
I actually wondered if someone have a solutions
Posts: 6,242
Threads: 8
Joined: Jun 2008
Quote:
Originally Posted by Lordzy
pawn Code:
//if player is paused, use the last received angle.
|
Read the thread, that is what already happens... If you GetPlayerFacingAngle on a tabbed player, you get the last known angle...
Posts: 6,242
Threads: 8
Joined: Jun 2008
That's not a bad plan to keep tabbed players that are tabbed for a long time out, but if a player has simple packet loss they'd end up being thrown into the VW. That is if you don't do a minimum of 5 seconds or so tabbed to make sure they are indeed tabbed.
Posts: 920
Threads: 113
Joined: Nov 2009
Reputation:
0
I don't really see how this is a problem. Are you really able to set the world for a paused player? Will the player not stay in the current world until the next update / unpause?
Posts: 6,236
Threads: 310
Joined: Jan 2011
Reputation:
0
Can people stop bumping this topic, seriously. Why is it such an issue that the topic needs to be bumped every couple of months?
It's a SA-MP problem that won't be fixed because it's not an issue. Case closed.