Raised This Month: $ Target: $400
 0% 

Solved Block jointeam T but allow CT and SPEC


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
LearninG
Senior Member
Join Date: Apr 2019
Location: Iran
Old 09-15-2019 , 18:09   Re: Block jointeam T but allow CT and SPEC
Reply With Quote #2

Auto join also blocked :
Code:
#include <amxmodx> public plugin_init() {     register_clcmd("jointeam", "join_team") } public join_team(id) {     new arg[2]     read_argv(1, arg, charsmax(arg))     if ( str_to_num(arg) == 1 || str_to_num(arg) == 5)     {         engclient_cmd(id,"chooseteam")         return PLUGIN_HANDLED     }     return PLUGIN_CONTINUE }

Last edited by LearninG; 09-16-2019 at 13:52.
LearninG 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 17:24.


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