Raised This Month: $ Target: $400
 0% 

block jointeam


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Battousai-sama
Veteran Member
Join Date: Jul 2007
Old 05-23-2011 , 00:16   block jointeam
Reply With Quote #1

Yes i searched, they are old threads if i post in them it will be looked as bumping old threads, so yeah i found this:

PHP Code:
#include <amxmodx>
public plugin_init()
{
    
register_plugin("Block Team Change""1.0""...");
    
register_clcmd("jointeam""cmdChooseTeam");
}

public 
cmdChooseTeam(id) {
    
client_print(idprint_chat"[AMXX] You are not permitted to switch teams.");
    return 
PLUGIN_HANDLED;

doesnt block "jointeam 6"
__________________

Last edited by Battousai-sama; 05-23-2011 at 01:00.
Battousai-sama is offline
Send a message via MSN to Battousai-sama
Old 05-23-2011, 09:05
slice231`SD
This message has been deleted by slice231`SD.
nnajko
Senior Member
Join Date: May 2009
Location: Sweden
Old 05-23-2011 , 09:05   Re: block jointeam
Reply With Quote #2

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

public plugin_init( )
{
        
register_plugin"Block jointeam""0.1""Exolent" );
}

public 
client_commandclient )
{
        static const 
szJoinCommand[ ] = "jointeam";
    
        static 
szCommand10 ];
        
read_argv0szCommand);
    
        if( 
equalszCommandszJoinCommand )
        && 
CS_TEAM_T <= cs_get_user_teamclient ) <= CS_TEAM_CT )
        {
                 
console_printclient"You cannot use jointeam while on a team! BOT!" );
                 return 
PLUGIN_HANDLED;
        }
        
        return 
PLUGIN_CONTINUE;

Lol, posted at the same time ^
nnajko is offline
slice231`SD
Senior Member
Join Date: Mar 2009
Location: Location: Location:
Old 05-23-2011 , 09:09   Re: block jointeam
Reply With Quote #3

lol i'll let your post be shown, also this post from Exolent should work too
__________________


Last edited by slice231`SD; 05-23-2011 at 09:13.
slice231`SD 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 10:41.


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