Raised This Month: $ Target: $400
 0% 

Empty an Array


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
SnoW
Veteran Member
Join Date: Oct 2008
Location: Finland WisdomNuggets: 8
Old 04-23-2011 , 16:58   Re: Empty an Array
Reply With Quote #10

Quote:
Originally Posted by ProIcons View Post
Ok now, how can i take from here all the arays that they have
common
killer
Deaths
half

and find the wpnindex for each ?

d{ WeaponData[ killer ][ wpnindex ][ Deaths ][ half ] }
What you are probably trying to achieve is going through the array with a loop. I don't know what you are trying to do exactly but something similiar below.
Code:
for( int WpI; WpI < MAX; WpI++ )     if( d{ WeaponData[ Killer ][ WpI ][ Deaths ][ Half ] } == CompareTo )     {           //Action     }
Quote:
Originally Posted by ProIcons View Post
and how can i convert a float to integer
Look for floatround.
SnoW is offline
Send a message via MSN to SnoW
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 19:45.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode