06.07.2012, 22:10
If it's in OnPlayerEnterVehicle It would simply be:
pawn Код:
if(vehicleid == truck && !ispassenger)//Entering truck, and not entering as a passenger.
{
//Code
}