Check if the given id is in the same car as yours. [UNSOLVED]
#5

Quote:
Originally Posted by Jefff
Код:
if(GetPlayerVehicleID(playerid) == GetPlayerVehicleID(giveplayerid))
Maybe try something like this?
pawn Код:
new MyVehicle, OtherGuysVehicle;
MyVehicle = GetPlayerVehicleID(playerid);
OtherGuysVehicle = GetPlayerVehicleID(giveplayerid); //change giveplayerid to whatever u use
if(MyVehicle == OtherGuysVehicle)
{
    // do something
}
Might be the same thing, but worth a try.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)