Posts: 391
Threads: 46
Joined: Mar 2008
Reputation:
0
When SetPlayerPos is used and the distance of new position is 1 point or less from the player, other players will not see the player on the new position, until he moves. This bug/desync might be in SA-MP since previous versions, I don't know. However, I would be grateful, if this could be fixed. If it's even possible to fix it.
Posts: 1,801
Threads: 27
Joined: Mar 2009
Reputation:
0
Lol, it's not many 1 unit, and the player will move sure ... it's not major, and I think that this can't be fixed.
Posts: 87
Threads: 8
Joined: Apr 2010
Add in a_samp.inc (on end)
Код:
stock _ALT_SetPlayerPos(playerid, Float:x,Float:y,Float:z)
{
SetPlayerPos(playerid,x+150,y+150,z+150);
return SetPlayerPos(playerid, x,y,z);
}
#if defined _ALS_SetPlayerPos
#undef SetPlayerPos
#else
#define _ALS_SetPlayerPos
#endif
#define SetPlayerPos _ALT_SetPlayerPos
Posts: 187
Threads: 3
Joined: Sep 2009
Reputation:
0
You could also try to set the virtual world to something else. I assume it fixes itself when the player restreams? Atleast thats what you guys are trying to achieve (by setting the position somewhere far away), arent you?
Posts: 391
Threads: 46
Joined: Mar 2008
Reputation:
0
07.04.2012, 20:32
(
Последний раз редактировалось niCe; 08.04.2012 в 02:03.
)
This workaround doesn't fix it and also I can't use virtualworlds in some situations. I know 1 unit isn't a large distance, however it does matter in some scripts, where you need to place the player precisely at some position. So I thought, perhaps Kalcor would be able to look at it and fix it somehow, if it's possible.