Posts: 1,642
Threads: 35
Joined: Nov 2011
Reputation:
0
07.07.2014, 00:34
(
Последний раз редактировалось Zume; 25.01.2015 в 06:55.
Причина: Thanks for fix!
)
sync bug:
[ame]http://www.youtube.com/watch?v=BMeJbEO0jCQ[/ame]
Posts: 1,642
Threads: 35
Joined: Nov 2011
Reputation:
0
would be nice to settle it as well as this there is more to become invisibe.
Posts: 263
Threads: 6
Joined: Mar 2012
This is a know bug. Its caused because OnPlayerStateChange is not called - the player vehicle id is not synced for other players.
You can fix it by re-streaming the player.
pawn Код:
stock fixed_PutPlayerInVehicle(playerid, vehicleid, seat) {
if (IsPlayerInAnyVehicle(playerid)) {
SetTimerEx("returnVW", 1500, false, "i", GetPlayerVirtualWorld(playerid));
SetPlayerVirtualWorld(playerid, GetPlayerVirtualWorld(playerid)+1); // Unload player
}
return PutPlayerInVehicle(playerid, vehicleid, seat);
}
forward returnVW(playerid, vwid);
public returnVW(playerid, vwid) {
SetPlayerVirtualWorld(playerid, vwid);
}