AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Suggestions / Requests (https://forums.alliedmods.net/forumdisplay.php?f=12)
-   -   [REQ] Total Team Kill Per Round (https://forums.alliedmods.net/showthread.php?t=263858)

FireJinTW 06-03-2015 12:40

[REQ] Total Team Kill Per Round
 
Can someone code that show the number of Total Team Kill in a round on the top right of the screen ?
Can make it only for CTs side because Ts side is zombie bots.
Then it will reset for next round.

Thank you

Shiina.Mashiro 06-03-2015 22:26

Re: [REQ] Total Team Kill Per Round
 
Many of team-kills plugin exist, just do a little search and you'll find yours.

FireJinTW 06-03-2015 22:42

Re: [REQ] Total Team Kill Per Round
 
I didn't mean Team-Kill plugins. I mean showing number of team's kill.
I try to find, but I dont see anything that will show Total Number of Team's Kill on the top right of the screen.

FireJinTW 06-22-2015 02:53

Re: [REQ] Total Team Kill Per Round
 
Bump

xxxperts 06-23-2015 03:23

Re: [REQ] Total Team Kill Per Round
 
1 Attachment(s)
Team Kills Plugin v0.1 [ UNTESTED ]


PHP Code:

#include < amxmodx >

new const PLUGIN[ ] = "Team Kills";
new const 
VERSION[ ] = "0.1";
new const 
AUTHOR[ ] = "ZOF 'X";

#pragma semicolon 1

#define MAX_PLAYERS    32
#define IsPlayer(%1) ( 1 <= %1 <= iMaxPlayers )

new iMaxPlayersiSyncHud;
new 
gTeamKillsMAX_PLAYERS ];

public 
plugin_init( ) {
    
    
register_pluginPLUGINVERSIONAUTHOR );
    
    
register_event"HLTV""EventNewRound""a""1=0""2=0" );
    
    
set_task0.9"TASK_SHOWHUD"___"b" );
    
    
iSyncHud CreateHudSyncObj( );
    
iMaxPlayers get_maxplayers( );
}

public 
client_deathiKilleriVictimiWeaponIDiHitPlaceiTeamKill ) {
        
    if( 
iTeamKill && IsPlayeriKiller ) && IsPlayeriVictim ) ) {
        
        
gTeamKillsiKiller ]++;
    }
    
}

public 
EventNewRound( ) {
    
    static 
PlayersMAX_PLAYERS ], iNumid;
    
    
get_playersPlayersiNum );
    
    while( --
iNum >= ) {
        
        
id PlayersiNum ];
        
        
gTeamKillsid ] = 0;
    }
}

public 
TASK_SHOWHUD( ) {
    
    static 
PlayersMAX_PLAYERS ], iNumid;
    
    
get_playersPlayersiNum );
    
    while( --
iNum >= ) {
        
        
id PlayersiNum ];
        
        
set_hudmessage000160000_0.00_1.01.0 );
        
ShowSyncHudMsgidiSyncHud"Team Kill: %d"gTeamKillsid ] );
    }
    



FireJinTW 06-23-2015 22:34

Re: [REQ] Total Team Kill Per Round
 
it shows Team Kill: at the top of screen, but when I kill Zombies (Ts) It always says 0, it doesn't increase

Just to Mention Zombies(Ts) i mean is podbot, not a players

xxxperts 06-24-2015 00:10

Re: [REQ] Total Team Kill Per Round
 
Quote:

Originally Posted by FireJinTW (Post 2311297)
it shows Team Kill: at the top of screen, but when I kill Zombies (Ts) It always says 0, it doesn't increase

you want to display team kill number, right ?

FireJinTW 06-24-2015 02:59

Re: [REQ] Total Team Kill Per Round
 
Quote:

Originally Posted by xxxperts (Post 2311313)
you want to display team kill number, right ?

I want it show Number that Cts have been killing in a round. Because Zombie (Ts podbot) It has limited respawn. So Cts will know how many zombies left they need to kill

FireJinTW 07-01-2015 05:40

Re: [REQ] Total Team Kill Per Round
 
2 weeks now, I think I can bump this thread. If someone could help me on that, I will be really appreciate.

Thank

indraraj striker 07-01-2015 11:01

Re: [REQ] Total Team Kill Per Round
 
1 Attachment(s)
i think you want this :3
test it


All times are GMT -4. The time now is 20:18.

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