Check if in same vehicle
#2

Try this, I think it should work.
pawn Код:
new player1carid = GetPlayerVehicleID(playerid);
new player2carid = GetPlayerVehicleID(playerid2); //Replace playerid2 with the id of player 2!
if (player1carid == player2carid)
{
  //They are in the same car! Do stuff here
}
Reply


Messages In This Thread
Check if in same vehicle - by DeerHooves - 24.02.2009, 17:39
Re: Check if in same vehicle - by Salmon - 24.02.2009, 20:42

Forum Jump:


Users browsing this thread: 1 Guest(s)