Raised This Month: $51 Target: $400
 12% 

Unknown command sm_x


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Chdata
Veteran Member
Join Date: Aug 2012
Location: Computer Chair, Illinois
Old 08-11-2014 , 02:16   Unknown command sm_x
Reply With Quote #1

I tried editing serverhop to fix the !hop command and add !servers and whatnot.

PHP Code:
  RegConsoleCmd"sm_server"Command_Say );
  
RegConsoleCmd"sm_servers"Command_Say );
  
RegConsoleCmd"sm_hop"Command_Say );
  
RegConsoleCmd"sm_serverhop"Command_Say ); 
PHP Code:
public Action:Command_Sayclientargs )
{
  
ServerMenuclient );
  return 
Plugin_Continue;
}] 
The command works fine, people can hop... but every time the command is used it spams "Unknown command: sm_hop".

What am I doing wrong?
__________________
Chdata is offline
MasterOfTheXP
Veteran Member
Join Date: Aug 2011
Location: Cloudbank
Old 08-11-2014 , 02:55   Re: Unknown command sm_x
Reply With Quote #2

Quote:
Originally Posted by Chdata View Post
return Plugin_Continue;
Change Plugin_Continue to Plugin_Handled.
__________________
Plugins / My Steam / TF2 Sandbox (plugin beta testing!)
MasterOfTheXP 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 13:40.


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