Raised This Month: $ Target: $400
 0% 

register_concmd... don t work the command....


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
PM
hello, i am pm
Join Date: Jan 2004
Location: Canalization
Old 05-31-2004 , 06:25  
Reply With Quote #2

Try this:
Code:
public change_time(id,level,cid) {     new arg[32]     read_argv(1, arg, 31)     client_cmd(id, "amx_cvar anti_respawn_time %s", arg)     return PLUGIN_HANDLED; }

If you don't return PLUGIN_HANDLED, the return value will be 0, which is PLUGIN_CONTINUE. That's why you get unknown command.
__________________
hello, i am pm
PM 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 07:02.


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