Raised This Month: $ Target: $400
 0% 

how add triple kill


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
login_xcvop
Member
Join Date: Nov 2013
Old 01-24-2014 , 14:53   how add triple kill
Reply With Quote #1

how add triple kill in this code ?

PHP Code:
new g_hasKilledTimer[33]

ham_killed(...)
{
   if(
g_hasKilledTimer[attacker])
   {
      
g_hasKilledTimer[attacker] = false

      
// *********************
      // attacker did a double kill
      // add actions here
      // *********************
   
}
   else
   {
      
g_hasKilledTimer[attacker] = true
      set_task
(5.0"resetTimer"attacker)
   }
}

public 
resetTimer(id)
{
     
g_hasKilledTimer[id] = false


Last edited by login_xcvop; 01-25-2014 at 05:20.
login_xcvop 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 10:12.


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