DayZ 1.28
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ OnStartServer()

override void ActionGetOutTransport::OnStartServer ( ActionData action_data)
inlineprotected

См. определение в файле ActionGetOutTransport.c строка 188

189 {
190 super.OnStartServer(action_data);
191
192 HumanCommandVehicle vehCommand = action_data.m_Player.GetCommand_Vehicle();
193 if (vehCommand)
194 {
195 CarScript car;
196 if (Class.CastTo(car, vehCommand.GetTransport()))
197 {
198 car.ForceUpdateLightsStart();
199 }
200 }
201 }
proto native Transport GetTransport()

Перекрестные ссылки ActionData, Class::CastTo() и HumanCommandVehicle::GetTransport().