Vehicle sync
#6

I agree, this isn't really a bug. The game wasn't designed to put player from one vehicle to other.

But this function should fix it:
pawn Code:
stock PutPlayerInVehicleEx(playerid, vehicleid, seatid)
{
  new
      Float:playerPos[3];
  GetPlayerPos(playerid, playerPos[0], playerPos[1], playerPos[2]);
  SetPlayerPos(playerid, playerPos[0], playerPos[1], playerPos[2]);
  PutPlayerInVehicle(playerid, vehicleid, seatid);
  return true;
}
Reply


Messages In This Thread
Vehicle sync - by niCe - 14.01.2010, 09:28
Re: Vehicle sync - by BeckzyBoi - 14.01.2010, 10:46
Re: Vehicle sync - by Jay_ - 14.01.2010, 12:28
Re: Vehicle sync - by Rac3r - 14.01.2010, 15:39
Re: Vehicle sync - by niCe - 15.01.2010, 04:20
Re: Vehicle sync - by Correlli - 15.01.2010, 05:26
Re: Vehicle sync - by niCe - 15.01.2010, 09:25

Forum Jump:


Users browsing this thread: 1 Guest(s)