Raised This Month: $ Target: $400
 0% 

Slay CTs at end of round.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Styles
Veteran Member
Join Date: Jul 2004
Location: California
Old 09-25-2007 , 23:37   Re: Slay CTs at end of round.
Reply With Quote #6

Lets get his plugin started. Heres what I have. I don't think it will work but you can give it a try. It was last min created.

PHP Code:
#include <amxmodx>
#include <cstrike>

#define PLUGIN "Slay CT"
#define VERSION "1.0"
#define AUTHOR "Styles"


public plugin_init() 
{
    
register_plugin(PLUGINVERSIONAUTHOR)
    
/* 
    GHW Via aim for the event. 
    I haven't been around so im now restarting to code in pawn 
    */
    
register_event("SendAudio","round_end","a","2=%!MRAD_ctwin","2=%!MRAD_rounddraw")
}

public 
round_end()
{
    new 
player_num get_playersnum()
    new 
letsCount
    
    
while(letsCount player_num)
    {
        if(
is_user_alive(letsCount) && cs_get_user_team(letsCount) == CS_TEAM_CT)
        {
            
user_silentkill(letsCount)
            
letsCount++
        }
    }


Last edited by Styles; 09-27-2007 at 14:08.
Styles is offline
Send a message via AIM to Styles
 



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:27.


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