Check which house(s) I own and travel to them
Hi,
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. Any hints /ideas would be helpfull. Thanks. It's about my account houses, not other players! |
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. |
I use it in EasyTravel and haven't had any complaints so far.
Lua Code:
Lua Code:
|
Thx will have a look at this!
|
All times are GMT -6. The time now is 01:16 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI