I just rememberd, that we had this nice little collection: http://killtube.org/showthread.php?1...ghlight=define
PHP Code:
BUTTON(80 80, "ui_weapon_0", "weapon 0", "ui_weapon_0_show", "1")
BUTTON(80 100, "ui_weapon_1", "weapon 1", "ui_weapon_1_show", "1")
BUTTON(80 120, "ui_weapon_2", "weapon 2", "ui_weapon_2_show", "1")
BUTTON(80 140, "ui_weapon_3", "weapon 3", "ui_weapon_3_show", "1")
Would be perfect for 64+64 items. I didn't know about the Stringifiy-operator back then, but my old example can be shortened with that (the _show one).