Raised This Month: $ Target: $400
 0% 

Free wallhang + team switch


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
arslan
BANNED
Join Date: Feb 2013
Location: En mi CASA jjejejejej
Old 02-26-2013 , 16:58   Re: Free wallhang + team switch
Reply With Quote #2

Try this plugin for SWITCH_TEAMS:

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

#define PLUGIN "furien_switch" 
#define VERSION "1.0" 
#define AUTHOR "Arslan" 


public plugin_init()  

    
register_plugin(PLUGINVERSIONAUTHOR
     
    
register_event"SendAudio""CT_win""a""2&%!MRAD_ctwin" )  

public 
CT_win() 

    new 
iPlayers[32], pnumid 
    get_players
(iPlayerspnum
     
    for(new 
ipnumi++) 
    { 
        
id iPlayers[i
         
        if ( 
is_user_connectedid ) ) 
        { 
            switch( 
cs_get_user_teamid ) ) 
            { 
                case 
CS_TEAM_T
                { 
                    
cs_set_user_team(idCS_TEAM_CTCS_CT_GIGN
                } 
                case 
CS_TEAM_CT
                { 
                    
cs_set_user_team(idCS_TEAM_TCS_T_LEET
                } 
            } 
        } 
    } 

And the WallHang here is the plugin for your server...

Last edited by YamiKaitou; 02-26-2013 at 19:38.
arslan is offline
Send a message via MSN to arslan Send a message via Yahoo to arslan Send a message via Skype™ to arslan
 



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


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