So I used this code below to get the value of the dataref sim/aircraft/view/acf_descrip:
XPlaneConnector.XPlaneConnector Connector = new XPlaneConnector.XPlaneConnector();
Connector.Start();
Connector.Subscribe(DataRefs.AircraftViewAcfDescrip, 1, (e, v) => {
Console.WriteLine($"{e.DataRef} : {v}");
});
What I expected was it will return the name of what the name of plane is. Instead it returns 0
Can someone help how to get the name of the plane? Would be really helpful.
So I used this code below to get the value of the dataref
sim/aircraft/view/acf_descrip:What I expected was it will return the name of what the name of plane is. Instead it returns
0Can someone help how to get the name of the plane? Would be really helpful.