public void BroadcastToggleEngineState(NitroxId id, bool isOn, bool isStarting) { vehicles.GetVehicles <CyclopsModel>(id).EngineState = isStarting; CyclopsToggleEngineState packet = new CyclopsToggleEngineState(id, isOn, isStarting); packetSender.Send(packet); }
public void ToggleEngineState(string guid, bool isOn, bool isStarting) { CyclopsToggleEngineState packet = new CyclopsToggleEngineState(guid, isOn, isStarting); packetSender.Send(packet); }