Raised This Month: $ Target: $400
 0% 

The last players of the 2 teams !


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Cool
New Member
Join Date: Jun 2012
Old 08-31-2012 , 17:55   Re: The last players of the 2 teams !
Reply With Quote #4

No, I have a source but this source doesn't work. This plugin is for Furien Mode.

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

#pragma semicolon 1;

public plugin_init() 
{

    
register_plugin("Kage vs Psycho""1.0""danuzzk"); 
    
register_event("DeathMsg""kage_vs_psycho""a");
    

}

public 
kage_vs_psycho() 
{

    new 
maxplayers get_maxplayers();

    new 
af[32], f[32], antifurien;
    new 
team;

    for (new 
1<= maxplayersi++)
    {
        if (!
is_user_connected(i) || !is_user_alive(i))
            return -
1;
    

        
team get_user_team(i);
    
        if(
team == 1)
        {
            
f[furien++] = i;
        }
    
        else 
    
        if(
team == 2)
        {
            
af[anti++] = i;
        }
        
        
        if (
furien == 1)
        { 
            
set_user_health(f[0], 300);
            
set_user_armor(f[0], 300);

            
set_user_rendering(f[0], kRenderFxGlowShell000kRenderTransAlpha0);

            
client_print(0print_chat "The last player from t is now Psycho - He has 300HP, 300AP");
        }
        
        if (
anti == 1)
        {
            
set_user_health(af[0], 300);
            
set_user_armor(af[0], 300);

            
give_item(af[0], "item_assaultsuit");
            
give_item(af[0], "item_thighpack");

            
set_user_rendering(af[0], kRenderFxGlowShell000kRenderTransAlpha0);

            
client_print(0print_chat "The last player from ct is now Kage - He has 300HP, 300AP ");
        }
        
    }
    
    return 
1;


Last edited by Cool; 08-31-2012 at 17:56.
Cool 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 08:11.


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