alt-V-NativeUI icon indicating copy to clipboard operation
alt-V-NativeUI copied to clipboard

ItemSelect Index of AutoListItems is 0

Open Alfons44 opened this issue 4 years ago • 1 comments

I want to get the Index Value of an AutoListItem on Select but the Index is Everytime 0

Code:

PerformanceMenu.ItemSelect.on((item, index) => {
	alt.log("[AutoListChange] " + index, item.Text);
});

Output: [17:12:01] [AutoListChange] 0 Motor

Alfons44 avatar May 04 '21 15:05 Alfons44

@Alfons44 is this still a bug? It shouldnt happen, the index should be correct if the item data (arg 1) is correct

DurtyFree avatar Jul 15 '21 23:07 DurtyFree

Closing as there hasn't been any reply

DurtyFree avatar Sep 02 '24 07:09 DurtyFree