Raised This Month: $ Target: $400
 0% 

Need Help With XP


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
indraraj striker
Veteran Member
Join Date: Mar 2014
Location: Under the water
Old 02-03-2016 , 23:39   Re: Need Help With XP
Reply With Quote #5

Or in your code already g_kills is present which is counting kill you can forward this in other function as this is global variable

PHP Code:
count_kills(attackerin EventDeathMsgwpnindex )
next forward this in next function

public 
count_kills(id)
{
    if(
g_kills[id] == 2)
   {
   
//do your stuff like show hudmessage or chat "double kills"
   
}
   if(
g_kills[id] == 3)
   {
    
//do your stuff like show hudmessage or chat "Triple kills"
   
}
   if(
g_kills[id] == 4)
   {
   
//do your stuff like show hudmessage or chat "Rampage kills"
   
}

__________________
Thanks everyone. #miss_you_all
indraraj striker 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 09:29.


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