Raised This Month: $ Target: $400
 0% 

Unknown Command


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Migs Davis
Junior Member
Join Date: Mar 2006
Location: Wilton, CT
Old 04-07-2006 , 07:57   Unknown Command
Reply With Quote #1

Why does unknown command error appear even for commands that definately DO exist? It usually happens with amx_gag for me (I installed amx_super, thanks billy... I'd ask you but its 6am) and sometimes for commands I make.
__________________
www.kdoubt.net - CS Syndicate website
------
(they need website hits \/\/\/)
www.awesomejon.com - friend's site (check galleries)
www.jednet.com - Friends website (check galleries)
www.djpeak.net - DJ website
Migs Davis is offline
Send a message via AIM to Migs Davis
Janet Jackson
Veteran Member
Join Date: Mar 2005
Location: far, far away from here
Old 04-07-2006 , 08:04  
Reply With Quote #2

If the command should exist but it says 'unknown command' your plugin is probably not loaded. Type amx_plugins to see what's loaded and what's not.
__________________
Janet Jackson is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 04-07-2006 , 08:41  
Reply With Quote #3

Also usually that mean that in command function handler returned result is "nothing" or PLUGIN_CONTINUE.
VEN is offline
Migs Davis
Junior Member
Join Date: Mar 2006
Location: Wilton, CT
Old 04-07-2006 , 10:01  
Reply With Quote #4

Thanks, (yeah it is enabled, I meant to mention that. Like, I use amx_gag, and it says "unknown command" and then gags the person lol). Thanks VEN for the headsup on returns, but the return is PLUGIN_HANDLED and its still happening. I suppose at this point it should be moved to scripting help.
__________________
www.kdoubt.net - CS Syndicate website
------
(they need website hits \/\/\/)
www.awesomejon.com - friend's site (check galleries)
www.jednet.com - Friends website (check galleries)
www.djpeak.net - DJ website
Migs Davis is offline
Send a message via AIM to Migs Davis
VEN
Veteran Member
Join Date: Jan 2005
Old 04-07-2006 , 10:11  
Reply With Quote #5

Yes, show your code at the Scripting help section.
VEN 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:23.


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