Snacko Posted May 13, 2010 Posted May 13, 2010 Using LUA, how do I lookup a country's 'text' name if I only have the country id? I am trying to fix the TouchBuddy Modules to display data and the LoGetWorldObjects() function only returns the CountryID, not the name. So, how do I use the ID to lookup the name. Like use 2 to lookup 'USA'? Thanks Snack Officer Intel I9-10850K (OC @ 5.0ghz) │ 64GB (4x16GB) DDR4 3200 │Gigabyte RTX 4090 Gaming OC 24gb - ҉ - Blackshark Cockpit Trainer - ҉ - ♣ Thread | ♥ Download
zdXu Posted May 14, 2010 Posted May 14, 2010 You can create a small list with fields "countryid, country". 1: russia ... I mean the list is not big. Its done quickly. It has only 10 or 15 items i think.
Snacko Posted May 14, 2010 Author Posted May 14, 2010 Ok, thanks. Snack Officer Intel I9-10850K (OC @ 5.0ghz) │ 64GB (4x16GB) DDR4 3200 │Gigabyte RTX 4090 Gaming OC 24gb - ҉ - Blackshark Cockpit Trainer - ҉ - ♣ Thread | ♥ Download
Recommended Posts