|
Post by kosidone on Jul 9, 2015 10:56:18 GMT
Hello Moroccan Coders i'm newbie i like your Work ,So i need help,plugin When a CT or Terrorist type on Console " jointeam 1 " server Block the Command ! and the server Change your name at sXe- it's Hard i know thnx By the way Sorry for my bad english ,
|
|
|
Post by ZiZox on Jul 23, 2015 5:01:49 GMT
Just use "Team Join Managment"
|
|
|
Post by argentavis on Jul 23, 2015 5:05:03 GMT
|
|
|
Post by kosidone on Aug 2, 2015 1:25:20 GMT
Sorry if i waste your Time Kabookie i found the same sma,plugin but thank you for the post !
#include < amxmodx > #include < cstrike >
public plugin_init( ) { register_plugin( "Block jointeam", "0.1", "Exolent" ); }
public client_command( client ) { static const szJoinCommand[ ] = "jointeam"; static szCommand[ 10 ]; read_argv( 0, szCommand, 9 ); if( equal( szCommand, szJoinCommand ) && CS_TEAM_T <= cs_get_user_team( client ) <= CS_TEAM_CT ) { console_print( client, "You Cannot Switch Team on HNS,by sXe-!" ); return PLUGIN_HANDLED; } return PLUGIN_CONTINUE; } /* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE *{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang2070\\ f0\\ fs16 \n\\ par } */
|
|
|
Post by houssamzamal1 on Nov 18, 2016 22:19:24 GMT
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#define PLUGIN "Block JoinTeam" #define VERSION "1.0" #define AUTHOR "Neo*"
public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) register_clcmd("chooseteam", "jointeam") }
public jointeam(){ return PLUGIN_HANDLED }
|
|