Raised This Month: $ Target: $400
 0% 

Unknown Command:


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
playerone
New Member
Join Date: Jul 2006
Old 07-01-2007 , 01:58   Unknown Command:
Reply With Quote #1

code looks something like this,

public plugin_init() {

register_plugin(PLUGIN, VERSION, AUTHOR)

register_clcmd("jslap", "cmdSlap", ADMIN_ALL, "<target>")
register_clcmd("jsprint", "cmdSprint", ADMIN_ALL, "<self>")
register_clcmd("jgod", "cmdGod", ADMIN_ALL, "<self>")
register_clcmd("jgrav", "cmdGrav", ADMIN_ALL, "<self>")
register_clcmd("jability", "cmdSpecial", ADMIN_ALL, "<self>")
}

public cmdSpecial(id){
switch(g_PlayerClass[id]){
case 1:
{
cmdSlap(id)
}
case 2:
{
cmdSprint(id)
}
case 3:
{
cmdGod(id)
}
case 4:
{
cmdGrav(id)
}
}
return PLUGIN_CONTINUE
}




When ever i use jability in the console i get "Unknown Command: jability" but it functions normally and i get feed back from what it triggers, what gives?
playerone 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 21:28.


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