Raised This Month: $ Target: $400
 0% 

Top damagers sorting


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Wasc
Junior Member
Join Date: Apr 2011
Old 11-09-2011 , 08:29   Re: Top damagers sorting
Reply With Quote #3

ye I tried this before.
It is compiling without problems but plugin don't work.
This is console:
Code:
L 11/09/2011 - 17:22:43: [AMXX] Displaying debug trace (plugin "crazzard_TotalDamage.amxx")
L 11/09/2011 - 17:22:43: [AMXX] Run time error 4: index out of bounds 
L 11/09/2011 - 17:22:43: [AMXX]    [0] TotalDamage.sma::fw_HamTakeDamage_Post (line 42)
Line 42 is calculator of damage:
Code:
kdPlayerData[ iAttacker ][ TotalDamage ] += ( kdPlayerData[ iAttacker ][ CurrentDamage ] = pev( iVictim , pev_dmg_take ) );
Calculator works perfectly without new scriptes for top players

Last edited by Wasc; 11-09-2011 at 08:29.
Wasc 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 14:21.


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