Thread: custom qmenu
View Single Post
  #3  
Old 08-25-2006, 12:07 AM
Skyld Skyld is offline
Script-fu
Skyld's Avatar
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
Skyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud of
Send a message via AIM to Skyld
PHP Code:
for (temp.weaponplayer.weapons)
{
  
// Code

temp.weapon.name will get the weapon name, and I think either temp.weapon.icon or temp.weapon.image or so will get the image (someone correct me if I am wrong).

I guess to draw all icons onto one panel, you could use a GuiDrawingPanel. Similarly you could spawn other GUI controls such as GuiBitmapButtonCtrls for each weapon.
Reply With Quote