Page 1 of 1

Listview declaration

Posted: Wed Aug 22, 2018 4:19 pm
by Frenchy
Hello,
today I wanted to create an addon that will allow me to do as a packet Logger but more convenient for mini game hacking.
It was the first time that I code in Lua, I was rather quickly to this language. However, it is impossible to implement the ListView. Is this the correct item to write on (like NosPackets.dll) ?

In the doc :

Code: Select all

  bool ListBox(const char* label, int* current_item, const char* items_separated_by_zeros, int height_in_items = -1);
My code :

Code: Select all

imgui.ListBox('ListBox',1,'--', 10)
I don't know what's wrong.
Thanks for your help :D

PS : Is there an existing function to send packets ?

Re: Listview declaration

Posted: Sun Jun 09, 2019 3:33 am
by Zuvax
Hey did you manage to make it work ?