Jump to content

Recommended Posts

Posted

any idea whats wrong becouse i cant get radio state table

 

my code

 

dofile("./Scripts/Aircrafts/Ka-50/Cockpit/devices.lua") -- enumeration of cockpit devices

dofile("./Scripts/Aircrafts/Ka-50/Cockpit/command_defs.lua")

function LuaExportStart()

local file = io.open("./Temp/Export.log", "w")

if file then

io.output(file)

end

local R_800 = GetDevice(48)

local radio = R_800:l_get_state()

end

 

 

and i get this error

 

Lua::Config::call error LuaExportStart:./Config/Export/Export.lua:11: attempt to call method 'l_get_state' (a nil value)

is something change patch 1.0.2 or i m so stupid so i cant that work :)

  • 1 year later...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...