Raised This Month: $ Target: $400
 0% 

Other way than client_cmd?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
HalfLife
Senior Member
Join Date: Aug 2013
Location: I'll tell you later ;)
Old 08-13-2013 , 00:09   Other way than client_cmd?
Reply With Quote #1

Hi, I know that latest Steam update, disables client_cmd option (like for menus etc) but I made a menu for my player that can access the main server feature. It is like this:
1- My Rank ; this is like client_cmd ("say /rank")
2- Top 15 by Rank ; this is like client_cmd ("say /top15)
So what to do when it doesn't work??
Any other solution???
It is very bad that Valve disabled client_cmd function
__________________
If you need any help regarding your HL Server, PM me and I can help you
My Tutorials:
How to install and use your SQL Database using AMX Mod X Plugins
HalfLife is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 08-13-2013 , 00:25   Re: Other way than client_cmd?
Reply With Quote #2

I think only some default commands are blocked, so if "say" is one of those commands, edit statx plugin.

After line
PHP Code:
register_clcmd("say /top15""cmdTop15"0"- display top 15 players (MOTD)"
add :

PHP Code:
register_clcmd("top15""cmdTop15"0"- display top 15 players (MOTD)"

And in the plugin, do :

PHP Code:
client_cmd(id"top15"); 
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
HalfLife
Senior Member
Join Date: Aug 2013
Location: I'll tell you later ;)
Old 08-13-2013 , 00:38   Re: Other way than client_cmd?
Reply With Quote #3

Quote:
Originally Posted by ConnorMcLeod View Post
I think only some default commands are blocked, so if "say" is one of those commands, edit statx plugin.

After line
PHP Code:
register_clcmd("say /top15""cmdTop15"0"- display top 15 players (MOTD)"
add :

PHP Code:
register_clcmd("top15""cmdTop15"0"- display top 15 players (MOTD)"

And in the plugin, do :

PHP Code:
client_cmd(id"top15"); 
Thank you so much for your helps.
But disagree with Valve why he blocked say command
__________________
If you need any help regarding your HL Server, PM me and I can help you
My Tutorials:
How to install and use your SQL Database using AMX Mod X Plugins
HalfLife is offline
HalfLife
Senior Member
Join Date: Aug 2013
Location: I'll tell you later ;)
Old 08-13-2013 , 02:59   Re: Other way than client_cmd?
Reply With Quote #4

But The Way is there any page that shows Valve blocked which commands in client_cmd?
(sorry if I didn't edit my last post so if I do that, you wont get notification )
__________________
If you need any help regarding your HL Server, PM me and I can help you
My Tutorials:
How to install and use your SQL Database using AMX Mod X Plugins
HalfLife is offline
devilicioux
Veteran Member
Join Date: Jun 2013
Location: Delhi,India
Old 08-13-2013 , 03:53   Re: Other way than client_cmd?
Reply With Quote #5

Quote:
Originally Posted by HalfLife View Post
But The Way is there any page that shows Valve blocked which commands in client_cmd?
(sorry if I didn't edit my last post so if I do that, you wont get notification )
Yes .. Just search a little on the forum ..
__________________
You keep bringing ANTICHRISTUS down .. He will rise again and kick asses !

#RespectList ANTICHRISTUS fysiks Bugsy

Most Common Errors You Can Encounter Every Now and Then
devilicioux is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 08-14-2013 , 00:38   Re: Other way than client_cmd?
Reply With Quote #6

Quote:
Originally Posted by HalfLife View Post
(sorry if I didn't edit my last post so if I do that, you wont get notification )
That's why the rule exists, please don't do that again.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
HalfLife
Senior Member
Join Date: Aug 2013
Location: I'll tell you later ;)
Old 08-14-2013 , 01:34   Re: Other way than client_cmd?
Reply With Quote #7

Quote:
Originally Posted by ConnorMcLeod View Post
That's why the rule exists, please don't do that again.
Okay i'm sorry
Thanks for your help
__________________
If you need any help regarding your HL Server, PM me and I can help you
My Tutorials:
How to install and use your SQL Database using AMX Mod X Plugins
HalfLife 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 15:47.


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