Raised This Month: $ Target: $400
 0% 

Check kills


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Freezo Begin
BANNED
Join Date: Mar 2014
Location: Morocco
Old 06-27-2014 , 09:06   Check kills
Reply With Quote #1

Hello Guys ! . i've made a plugin that shows top 3 Killers in every round with hud ( " i didn't test it " ) but I figured that the function of checking kills is useless knowing that the function that i have use is get_user_frags() !

Code:
public Hook_Death(){     new kill,vic,TopKills;         kill = read_data(1)     vic = read_data(2)     TopKills = get_user_frags(kill);         if (kill == vic){         return 1;     }     switch(TopKills)     {         case 0..2: g_Kills[kill] += 1             case 3..5: g_Kills[kill] += 2             case 6..10: g_Kills[kill] += 3         }     return 0; }
Freezo Begin 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 21:08.


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