Thread: Custom Qmenu
View Single Post
  #3  
Old 08-28-2006, 07:43 PM
contiga contiga is offline
Graal2001 Administration
contiga's Avatar
Join Date: Jul 2004
Location: Netherlands
Posts: 419
contiga is an unknown quantity at this point
Send a message via ICQ to contiga Send a message via AIM to contiga Send a message via MSN to contiga Send a message via Yahoo to contiga
Quote:
Originally Posted by excaliber7388
Excelent I also plan to script one, I hope you don't mind me using this as a base
Ofcourse you can use that as base! Just change player.weapons to an array with weapons you actually want to draw. Something that could make a selection of weapons that you'd like to draw / not to draw:

PHP Code:
temp.wlist.clear();
temp.disabled = { "-""+"};
for ( 
iplayer.weapons) {
  for ( 
jtemp.disabled) {
    if ( !
i.name.startsj))
      
temp.wlist.add( { i.namei.image});
  }
}

for ( 
0temp.wlist.size(); ++) {
  
with findImg200 i)) {
    
image temp.wlisti][ 1];
    
start x + ( space_between_items_horizontal 32 * ( ammount_of_items_horizontal));
    
start y + ( space_between_items_vertical 32 intammount_of_items_horizontal));
    
layer 4;
  }

Good luck with it! If you have any questions, feel free to ask.
__________________
AIM: Contiga122
MSN: [email protected]
Status:
Quote:
Originally Posted by unixmad View Post
I am also awake 3AM to help correct problems.
Quote:
Originally Posted by Bomy Island RC people
Daniel: HoudiniMan is a bad guy =p
*Bell: rofl. I first read that as houdini is a bad man. like the little kid that wants his mommy to keep her away from that boogie man
Daniel: xD
*Rufus: I wouldn't want my kids around him.

Last edited by contiga; 08-29-2006 at 09:52 AM..
Reply With Quote