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

Quote:
Originally Posted by [B2K
Hustler ]
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.
It does exactly the same as Jeff's does...
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)