Thread: removeweapon()
View Single Post
  #8  
Old 07-10-2008, 12:38 AM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
Quote:
Originally Posted by DrakilorP2P View Post
Wouldn't this work?
PHP Code:
for (temp.i=0temp.i<player.weapons.size(); temp.i++)
  
player.removeweapon(player.weapons[0].name); 
Skipping over Stefan's posts usually isn't a smart thing to do. If you don't understand it then just think really hard about how arrays work.
__________________
Reply With Quote