29.03.2015, 15:33
ShowModelSelectionMenuEx(playerid, skinlist, 20, "Select Skin", SELECTION_SKINS);
Hence, replace your "20" with "sizeof (skinlist)"
Quote:
ShowModelSelectionMenuEx(playerid, items_array[], item_amount, header_text[], extraid, Float:Xrot = 0.0, Float:Yrot = 0.0, Float:Zrot = 0.0, Float:mZoom = 1.0, dialogBGcolor = 0x4A5A6BBB, previewBGcolor = 0x88888899 , tdSelectionColor = 0xFFFF00AA) |
Quote:
item_amount: Amount of items in items_array[] (For example: item_amount = 3 would show items_array[0-2]) |