All pastes #425366 Raw Edit

Untitled

public text v1 · immutable
·published 2007-04-05 13:15 UTC
rendered paste body
IsVehicleType(vehicleid, type)
{
	new
		veh = VehicleInfo[vehicleid][FEILD_NAME];
	while (type)
	{
		if (type & 1)
		{
			if (!veh & 1) return false;
		}
		type >>>= 1;
	}
	return true;
}