Raised This Month: $ Target: $400
 0% 

Block Command


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
kiki33hun
Veteran Member
Join Date: Jul 2011
Location: Magyarország
Old 12-20-2011 , 03:20   Block Command
Reply With Quote #1

Hy, how to block "chooseteam" cmd, only putinserver?
__________________
kiki33hun is offline
Devil259
Veteran Member
Join Date: Dec 2009
Location: France (59)
Old 12-20-2011 , 05:00   Re: Block Command
Reply With Quote #2

Code:
register_clcmd("chooseteam", "No_ChooseTeam") register_clcmd("jointeam", "No_ChooseTeam") public No_ChooseTeam( id ) {      return ( CS_TEAM_T <= cs_get_user_team(id) <= CS_TEAM_CT ) }
__________________
You can do anything you set your mind to, man.

Devil259 is offline
kiki33hun
Veteran Member
Join Date: Jul 2011
Location: Magyarország
Old 12-20-2011 , 06:47   Re: Block Command
Reply With Quote #3

Only putinserver ?
__________________
kiki33hun is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 12-20-2011 , 07:08   Re: Block Command
Reply With Quote #4

Quote:
Originally Posted by kiki33hun View Post
Only putinserver ?
This means nothing, yes we roughly see what you want but you need to give details.

Don't ask how to do something, better to say what you want to do with the plugin.
__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 12-20-2011 at 07:08.
ConnorMcLeod is offline
kiki33hun
Veteran Member
Join Date: Jul 2011
Location: Magyarország
Old 12-20-2011 , 07:11   Re: Block Command
Reply With Quote #5

I would like to see that when I enter the server can choose not to breed so do not come in a selection menu!
__________________
kiki33hun is offline
Devil259
Veteran Member
Join Date: Dec 2009
Location: France (59)
Old 12-20-2011 , 07:12   Re: Block Command
Reply With Quote #6

Code:
#include < amxmodx > #include < cstrike > public plugin_init( ) {     register_clcmd("chooseteam", "No_ChooseTeam")     register_clcmd("jointeam", "No_ChooseTeam") } public No_ChooseTeam( id ) {      return ( CS_TEAM_T <= cs_get_user_team(id) <= CS_TEAM_CT ) }

That was so difficult !
__________________
You can do anything you set your mind to, man.


Last edited by Devil259; 12-20-2011 at 07:56.
Devil259 is offline
kiki33hun
Veteran Member
Join Date: Jul 2011
Location: Magyarország
Old 12-20-2011 , 07:14   Re: Block Command
Reply With Quote #7

Include cstrike

Blocking Jointeam Vgui menu?????
__________________

Last edited by kiki33hun; 12-20-2011 at 07:23. Reason: ...
kiki33hun is offline
Devil259
Veteran Member
Join Date: Dec 2009
Location: France (59)
Old 12-20-2011 , 07:58   Re: Block Command
Reply With Quote #8

Quote:
Originally Posted by kiki33hun View Post
Include cstrike
Yes, edited.

Quote:
Originally Posted by kiki33hun View Post
Blocking Jointeam Vgui menu?????
Search by yourself, this problem have been asked many times.
__________________
You can do anything you set your mind to, man.

Devil259 is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 12-20-2011 , 09:39   Re: Block Command
Reply With Quote #9

It won't block auto menu when you join the server.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Devil259
Veteran Member
Join Date: Dec 2009
Location: France (59)
Old 12-20-2011 , 15:37   Re: Block Command
Reply With Quote #10

Yes, you're right, but his problem was "how to block "chooseteam" cmd ?".
__________________
You can do anything you set your mind to, man.

Devil259 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 11:59.


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