Raised This Month: $ Target: $400
 0% 

Other way than client_cmd?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 



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