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

Unkown Command Change??


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
kiki33hun
Veteran Member
Join Date: Jul 2011
Location: Magyarország
Old 02-12-2012 , 05:54   Unkown Command Change??
Reply With Quote #1

How to change unkown command text?

PHP Code:
public handle_say(id
{
static 
szSaid16 ];
read_argsszSaid charsmaxszSaid ) );
parseszSaid szSaid charsmaxszSaid ) );

if( 
equaliszSaid "blabla") || equaliszSaid "blaablaa") || equaliszSaid "/test") ) 
{
return 
1;
}

return 
client_print(idprint_chat"Unkown Command")

This posibble?
__________________
kiki33hun is offline
Flipper_SPb
Senior Member
Join Date: Jun 2009
Location: Worldspawn
Old 02-12-2012 , 06:37   Re: Unkown Command Change??
Reply With Quote #2

PHP Code:
    return client_print(idprint_chat"Unkown Command"
    return 
PLUGIN_HANDLED

?

What do you want exactly?
__________________
Полный похуизм.

Last edited by Flipper_SPb; 02-12-2012 at 06:39.
Flipper_SPb is offline
Send a message via ICQ to Flipper_SPb
Devil259
Veteran Member
Join Date: Dec 2009
Location: France (59)
Old 02-12-2012 , 10:02   Re: Unkown Command Change??
Reply With Quote #3

To remove the "Unknown command" in console, just return PLUGIN_HANDLED.
__________________
You can do anything you set your mind to, man.

Devil259 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 06:31.


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