AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Can I add a command only allows the server console? (https://forums.alliedmods.net/showthread.php?t=242231)

ryo89589 06-16-2014 02:03

Can I add a command only allows the server console?
 
Can I add a command only allows the server console?
Also, Can I add a cvar only allows the server console?
Please tell me how to write? Thank you!

YamiKaitou 06-16-2014 02:11

Re: Can I add a command only allows the server console?
 
Quote:

Originally Posted by ryo89589 (Post 2152432)
Can I add a command only allows the server console?

Use register_srvcmd

Quote:

Also, Can I add a cvar only allows the server console?
Huh?

ryo89589 06-16-2014 02:25

Re: Can I add a command only allows the server console?
 
Quote:

Originally Posted by YamiKaitou (Post 2152436)
Use register_srvcmd


Huh?

Thanks a lot!
I mean "cvar" only allows the server console to modify.
Can I do it?

YamiKaitou 06-16-2014 02:32

Re: Can I add a command only allows the server console?
 
No

ryo89589 06-16-2014 02:37

Re: Can I add a command only allows the server console?
 
Quote:

Originally Posted by YamiKaitou (Post 2152444)
No

Thank You!!


All times are GMT -4. The time now is 21:10.

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