Raised This Month: $ Target: $400
 0% 

Command To Work From Web Console Too, Not Only When You Are In Server.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Alber9091
Veteran Member
Join Date: Jun 2014
Location: Karachi, Pakistan
Old 07-18-2019 , 11:45   Re: Command To Work From Web Console Too, Not Only When You Are In Server.
Reply With Quote #7

Quote:
Originally Posted by OciXCrom View Post
clcmd -> client console
srvcmd -> server console
concmd -> client + server console
Yes I know about it.

I want to use this comnand say /change.
Example:
Press Y -> "/change" in server/game.
And "say /change" from game console.

I tried it but it didn't work from console (never tested as client).

PHP Code:
register_concmd("say /change""CMD_ModeChange"); 
Now airkash has told another way in above post,

PHP Code:
register_concmd("change""CMD_ModeChange"); 
So, I was asking do I have to use?

1.
PHP Code:
register_concmd("change""CMD_ModeChange"); 
2.
PHP Code:
register_concmd("/change""CMD_ModeChange"); 
"
3.
PHP Code:
register_concmd("say /change""CMD_ModeChange"); 
since I want /change as a command in say.

Last edited by Alber9091; 07-18-2019 at 12:26.
Alber9091 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 00:49.


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