См. определение в файле ActionSwitchLights.c строка 57
Перекрестные ссылки HumanCommandVehicle::GetTransport() и ActionData::m_Player.