From bd7a6372867f88c092d67359c7c0cdeb1e190f30 Mon Sep 17 00:00:00 2001 From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com> Date: Fri, 19 Aug 2022 23:49:20 +0200 Subject: [PATCH] Update command flags --- r5dev/tier1/cmd.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/r5dev/tier1/cmd.cpp b/r5dev/tier1/cmd.cpp index e2f1c33e..7ef06f1f 100644 --- a/r5dev/tier1/cmd.cpp +++ b/r5dev/tier1/cmd.cpp @@ -325,14 +325,14 @@ void ConCommand::Init(void) ConCommand::Create("bhit", "Bullet-hit trajectory debug.", FCVAR_DEVELOPMENTONLY | FCVAR_GAMEDLL, BHit_f, nullptr); #endif // !GAMEDLL_S0 && !GAMEDLL_S1 #ifndef DEDICATED - ConCommand::Create("line", "Draw a debug line.", FCVAR_GAMEDLL | FCVAR_CHEAT, Line_f, nullptr); - ConCommand::Create("sphere", "Draw a debug sphere.", FCVAR_GAMEDLL | FCVAR_CHEAT, Sphere_f, nullptr); - ConCommand::Create("capsule", "Draw a debug capsule.", FCVAR_GAMEDLL | FCVAR_CHEAT, Capsule_f, nullptr); + ConCommand::Create("line", "Draw a debug line.", FCVAR_DEVELOPMENTONLY | FCVAR_CHEAT, Line_f, nullptr); + ConCommand::Create("sphere", "Draw a debug sphere.", FCVAR_DEVELOPMENTONLY | FCVAR_CHEAT, Sphere_f, nullptr); + ConCommand::Create("capsule", "Draw a debug capsule.", FCVAR_DEVELOPMENTONLY | FCVAR_CHEAT, Capsule_f, nullptr); #endif //!DEDICATED //------------------------------------------------------------------------- // SERVER DLL | #ifndef CLIENT_DLL - ConCommand::Create("script", "Run input code as SERVER script on the VM.", FCVAR_GAMEDLL | FCVAR_CHEAT, SQVM_ServerScript_f, nullptr); + ConCommand::Create("script", "Run input code as SERVER script on the VM.", FCVAR_CHEAT, SQVM_ServerScript_f, nullptr); ConCommand::Create("sv_kick", "Kick a client from the server by name. | Usage: kick \"\".", FCVAR_RELEASE, Host_Kick_f, nullptr); ConCommand::Create("sv_kickid", "Kick a client from the server by UserID or OriginID | Usage: kickid \"\"/\"\".", FCVAR_RELEASE, Host_KickID_f, nullptr); ConCommand::Create("sv_ban", "Bans a client from the server by name. | Usage: ban .", FCVAR_RELEASE, Host_Ban_f, nullptr);