Jump to content

Using LUA, how do I lookup a country 'text' name if I only have the country id?


Recommended Posts

Posted

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

Posted

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.

  • Recently Browsing   0 members

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