Raised This Month: $ Target: $400
 0% 

T killed


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
edgaras85
Senior Member
Join Date: Mar 2010
Location: Lithuania
Old 06-11-2010 , 15:10   Re: T killed
Reply With Quote #1

Quote:
Originally Posted by GXLZPGX View Post
I believe this is what you mean:

PHP Code:
#include <amxmodx>
#include <hamsandwich>
#include <cstrike>
 
#define PLUGIN    "Detect Kills"
#define AUTHOR    "Shadow"
#define VERSION    "1.0"
 
new tkills[33], ctkills[33];
 
public 
plugin_init()
{
    
register_plugin(PLUGINVERSIONAUTHOR)
    
RegisterHamHam_Killed"player""eDeath")
}
 
public 
eDeathid )
{
    new 
iAttacker read_data)     
    new 
iVictim read_data)
 
    if( 
iVictim == iAttacker )
        return 
PLUGIN_HANDLED
 
    
if( cs_get_user_teamiVictim ) == CS_TEAM_T )
    {
        
tkills[id]+= 1
    
} else {
        
ctkills[id]+= 1
    
}
 
    return 
PLUGIN_HANDLED;

Its work if you understand, That From Your rankstats to know how much you killed Terrorist from Kills
edgaras85 is offline
GXLZPGX
Veteran Member
Join Date: Sep 2009
Old 06-11-2010 , 15:33   Re: T killed
Reply With Quote #2

Quote:
Originally Posted by edgaras85 View Post
Its work if you understand, That From Your rankstats to know how much you killed Terrorist from Kills
I don't understand what your saying. But if you look at statsx.sma, and take a look at how it saves normal kills, you can make that work for ct kills and t kills to be saved as well.
__________________
Currently accepting payment US DOLLARS ONLY for custom plugins, contact me through PM.
GXLZPGX is offline
edgaras85
Senior Member
Join Date: Mar 2010
Location: Lithuania
Old 06-11-2010 , 17:38   Re: T killed
Reply With Quote #3

Quote:
Originally Posted by GXLZPGX View Post
I don't understand what your saying. But if you look at statsx.sma, and take a look at how it saves normal kills, you can make that work for ct kills and t kills to be saved as well.
Look
statsx.sma saves all kills and in top15 writes all kills
i need that only would write how much i killed T ct would not write
Ct + T = all
I need only T kills...
edgaras85 is offline
edgaras85
Senior Member
Join Date: Mar 2010
Location: Lithuania
Old 06-28-2010 , 05:48   Re: T killed
Reply With Quote #4

Bump
edgaras85 is offline
Reply



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 05:26.


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