Raised This Month: $ Target: $400
 0% 

Empty an Array


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
ProIcons
Senior Member
Join Date: Jan 2009
Location: Greece - Salonica
Old 04-23-2011 , 08:20   Re: Empty an Array
Reply With Quote #6

PHP Code:
if (TK != 1) {
            
PlayerDatakiller ][ Kills ][ half ]++;
            
PlayerDatavictim ][ Deaths ][ half ]++;
            
//WeaponData[ killer ][ wpnindex ][ Kills ][ half ]++;
            //WeaponData[ victim ][ wpnindex ][ Deaths ][ half ]++;
            
d{WeaponDatakiller ][ wpnindex ][ Kills ][ half ]} = fCount += 1.0;
            
d{WeaponDatavictim ][ wpnindex ][ Deaths ][ half ]} = fCount += 1.0;
        }
        else if (
TK == 1) {
            
PlayerDatakiller ][ Tks ][ half ]++;
            
PlayerDatavictim ][ Deaths ][ half ]++;
            
//WeaponData[ killer ][ wpnindex ][ Tks ][ half ]++;
            
dWeaponDatakiller ][ wpnindex ][ Tks ][ half ] } = fCount += 1.0;
            
//WeaponData[ victim ][ wpnindex ][ Deaths ][ half ]++;
            
dWeaponDatakiller ][ wpnindex ][ Deaths ][ half ] } = fCount += 1.0;
        }
        
msg("Kill Status: Killer: %s (%d) / Victim: %s (%d) / Weapon: %s / Hitplace: %s / TK: %d / HeadShot: %s ",killernamekillervictimnamevictimwprealnameswpnindex ], HitPlaceStringshitplace ] , TK headshot);
        
msg("Kills for Player %s with gun %s = %f",killername,wprealnameswpnindex ],dWeaponDatakiller ][ wpnindex ][ Kills ][ half ] })
        
msg("Deaths for Player %s with gun %s = %f",victimname,wprealnameswpnindex ],dWeaponDatavictim ][ wpnindex ][ Deaths ][ half ] }) 


[Network] Kill Status: Killer: ProIcons<496> ( / Victim: Test8 (4) / Weapon: Desert Eagle .50AE / Hitplace: Head / TK: 0 / H
[Network] Kills for Player ProIcons<496> with gun Desert Eagle .50 AE = 1.000000
[Network] Deaths for Player Test8 with gun Desert Eagle .50 AE = 2.000000


[Network] Kill Status: Killer: ProIcons<496> ( / Victim: Test9 (3) / Weapon: Desert Eagle .50AE / Hitplace: Head / TK: 0 / H
[Network] Kills for Player ProIcons<496> with gun Desert Eagle .50 AE = 3.000000
[Network] Deaths for Player Test9 with gun Desert Eagle .50 AE = 4.000000

It is incing the same thing....
__________________
function rb return $regsubex($$1-,/(.)/g,$+($chr(2) $+ $chr(3),$r(2,15),$chr(2),\1))

Last edited by ProIcons; 04-23-2011 at 08:40.
ProIcons is offline
 



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