Block jointeam T but allow CT and SPEC
Hello,
is it possible to block joining Terrorists but allow joining CT and SPEC? Thanks. |
Re: Block jointeam T but allow CT and SPEC
Auto join also blocked :
Code:
|
Re: Block jointeam T but allow CT and SPEC
Quote:
Instead of str_to_num(arg)-1 == 0 Simply str_to_num(arg) == 1 And also this won't block joining team fully. OP : plugins such like are already exists don't be lazy to search for them. |
Re: Block jointeam T but allow CT and SPEC
Well, I tried searching forums and google but I was not lucky but I think this plugin works just fine.
|
Re: Block jointeam T but allow CT and SPEC
Quote:
|
Re: Block jointeam T but allow CT and SPEC
hooking "jointeam" cmd
Code:
Code:
Code:
Code:
Code:
|
Re: Block jointeam T but allow CT and SPEC
Quote:
What if I wanted to do this: IF CT wants to join T; return PLUGIN_HANDLED; IF CT wants to join CT; return PLUGIN_HANDLED; IF SPEC wants to join T; return PLUGIN_HANDLED; IF SPEC wants to join CT; return PLUGIN_CONTINUE; How would I write this? |
Re: Block jointeam T but allow CT and SPEC
Code:
Code:
Code:
Code:
Code:
Code:
|
Re: Block jointeam T but allow CT and SPEC
Quote:
|
Re: Block jointeam T but allow CT and SPEC
Quote:
|
All times are GMT -4. The time now is 10:37. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.