Raised This Month: $ Target: $400
 0% 

[req]Anti command on console


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
leo.moraes23
Junior Member
Join Date: Jul 2012
Old 11-27-2013 , 18:05   [req]Anti command on console
Reply With Quote #1

Hello I have a server, hAnd would block command jointeam 2 on the console with this command because it can go faster for ct very difficult life of the other players.

And also has the Model command they can talk model (model name) and it changes the skin. Well it hinders the gameplay of other players. Eternally grateful to those who help me.

The server and jailbreak, Then in time to play the game in case of zombie is with a zombie skin, Where you and boring on a normal day writing staff standing model (model name zombie) and take the zombie skin .

Last edited by leo.moraes23; 11-27-2013 at 18:18.
leo.moraes23 is offline
xDoctor
Member
Join Date: Jul 2013
Old 11-28-2013 , 09:04   Re: [req]Anti command on console
Reply With Quote #2

Fix me if i am wrong :

PHP Code:
/* Plugin generated by AMXX-Studio */

#include < amxmodx >



public plugin_init()

{
    
register_clcmd"jointeam 2""Blocked" )
}


public 
plugin_cfg ()

{
    
set_cvar_string"humans_join_team""T" )
        
set_cvar_string"mp_autoteambalance""0" )
    
set_cvar_num"max_limitteams")
    
}

public 
Blocked id )

{
    
client_printidprint_chat"command blocked!!" )
    
    return 
1;

Block Join team CT -

Auto Choose Team T Right ?
xDoctor is offline
Fuck For Fun
Veteran Member
Join Date: Nov 2013
Old 11-29-2013 , 05:43   Re: [req]Anti command on console
Reply With Quote #3

PHP Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>


public plugin_init() {
    
        
register_clcmd("jointeam","Block");
}

public 
plugin_cfg (){
        
set_cvar_num("mp_autoteambalance",0);
        
set_cvar_num("mp_limitteams",0);
        
set_cvar_string("humans_join_team","T");
    


public 
Block(id) {
        return 
PLUGIN_HANDLED;

Fuck For Fun is offline
Send a message via Skype™ to Fuck For Fun
leo.moraes23
Junior Member
Join Date: Jul 2012
Old 12-05-2013 , 12:12   Re: [req]Anti command on console
Reply With Quote #4

Thank you very much for the help you two, You helped me a lot, But now there's no way to pass the M button, Actually I would and WHAT block command jointeam 2 on the console, however leave the active button M. Grateful to whoever tries to help me.

Last edited by leo.moraes23; 12-05-2013 at 12:14.
leo.moraes23 is offline
Fuck For Fun
Veteran Member
Join Date: Nov 2013
Old 12-06-2013 , 01:36   Re: [req]Anti command on console
Reply With Quote #5

add To
Code:
public plugin_init()
Choosteam

-->:
PHP Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>


public plugin_init() {
    
        
register_clcmd("jointeam","Block");
        
register_clcmd("chooseteam","Block");
}

public 
plugin_cfg (){
        
set_cvar_num("mp_autoteambalance",0);
        
set_cvar_num("mp_limitteams",0);
        
set_cvar_string("humans_join_team","T");
    


public 
Block(id) {
        return 
PLUGIN_HANDLED;

Fuck For Fun is offline
Send a message via Skype™ to Fuck For Fun
leo.moraes23
Junior Member
Join Date: Jul 2012
Old 12-06-2013 , 10:06   Re: [req]Anti command on console
Reply With Quote #6

Quote:
Originally Posted by Fuck For Fun View Post
add To
Code:
public plugin_init()
Choosteam

-->:
PHP Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>


public plugin_init() {
    
        
register_clcmd("jointeam","Block");
        
register_clcmd("chooseteam","Block");
}

public 
plugin_cfg (){
        
set_cvar_num("mp_autoteambalance",0);
        
set_cvar_num("mp_limitteams",0);
        
set_cvar_string("humans_join_team","T");
    


public 
Block(id) {
        return 
PLUGIN_HANDLED;


So Fuck For Fun Thank you for continuing to help me more if I have a plugin that controls the transfer of teams . It blocks the transfer until you have 3 terrorists to 1 Counter Terrorist terrorists , in the case that when you wave the plugin releases there has to be 3 terrorists to 1 CounterTerrorist , when the plugin More releases the transfer , players are able to pass the team counter terrorist pressing the " m " button and starts a count of 7 seconds for the player to pass , but if he types in jointeam 2 console, may pass before the count of 7 seconds and ends up several of counter terrorist , even managing to change the order 3 terrorists to 1 Counter Terrorist . If you are unable to do so I appreciate the help you gave me already , In case if you have another code for me to use the plugin transfer , Instead I use the command jointeam , I use another command to transfer to Counter Terrorist in my plugin of transfer, And block jointeam command.

Last edited by leo.moraes23; 12-06-2013 at 11:57.
leo.moraes23 is offline
leo.moraes23
Junior Member
Join Date: Jul 2012
Old 12-06-2013 , 10:26   Re: [req]Anti command on console
Reply With Quote #7

So Fuck For Fun Thank you for continuing to help me more if I have a plugin that controls the transfer of teams . It blocks the transfer until you have 3 terrorists to 1 Counter Terrorist terrorists , in the case that when you wave the plugin releases there has to be 3 terrorists to 1 CounterTerrorist , when the plugin More releases the transfer , players are able to pass the team counter terrorist pressing the " m " button and starts a count of 7 seconds for the player to pass , but if he types in jointeam 2 console, may pass before the count of 7 seconds and ends up several of counter terrorist , even managing to change the order 3 terrorists to 1 Counter Terrorist . If you are unable to do so I appreciate the help you gave me already , In case if you have another code for me to use the plugin transfer , Instead I use the command jointeam , I use another command to transfer to Counter Terrorist in my plugin of transfer, And block jointeam command.

(Sorry about the double post, I posted unintentionally can delete this one, can see that my intention was not to climb my post for the last two posts were posted at the same time. I'm really sorry, can delete this one.)

Last edited by leo.moraes23; 12-06-2013 at 11:57.
leo.moraes23 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 19:34.


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