View Single Post
Old 02-26-2020   #2
Rapidgame7
bzzzzzzzzzzzzzzzzzzzzz
 
Rapidgame7's Avatar
Default

Are you talking about commands or CVars?

For CVars, you need to apply the CV_NETVAR flag for it to become admin-only.
For commands, giving the COM_ADMIN flag to the third argument of COM_AddCommand will make the command admin-only. (This is not documented on the wiki yet)

If you are making the command host only, check that the command executor is server. server is always the host.
__________________

NOTICE: Game must be restarted to record statistics.

Last edited by Rapidgame7; 02-26-2020 at 10:55 PM.
Rapidgame7 is offline   Reply With Quote