Is there a way to check which house (s) I own and then put them in a list and travel to them?
Maybe via the collectibles and me Api functions but I was not successful so far.
I don't think an easily accessible list of houses exists (since there are gaps in the numbers), so I built my own array of houses. From there, I just ran it in a loop using
Code:
local _,_,_,_,owned = GetCollectibleInfo(GetCollectibleIdForHouse(house_index))
What about the list that is shown in the map menu? it shows all owned houses already, so the game does have some way to do that without a prebuilt list?
houseId are very clean you should use them as Rhyono said.
For map, it's easily doable too. but take care some evil devs implementing hidden features already altered those functions. You can look in NOTY code if you want.