mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Game: remove game dll flag from "script" cmd
Prevent remote execution, should be done through RCON instead for security.
This commit is contained in:
parent
900df8bc6f
commit
bdc4112c55
@ -54,8 +54,8 @@ static void SQVM_UIScript_f(const CCommand& args)
|
||||
}
|
||||
}
|
||||
|
||||
static ConCommand script_client("script_client", SQVM_ClientScript_f, "Run input code as CLIENT script on the VM", FCVAR_DEVELOPMENTONLY | FCVAR_CLIENTDLL | FCVAR_CHEAT);
|
||||
static ConCommand script_ui("script_ui", SQVM_UIScript_f, "Run input code as UI script on the VM", FCVAR_DEVELOPMENTONLY | FCVAR_CLIENTDLL | FCVAR_CHEAT);
|
||||
static ConCommand script_client("script_client", SQVM_ClientScript_f, "Run input code as CLIENT script on the VM", FCVAR_DEVELOPMENTONLY | FCVAR_CHEAT);
|
||||
static ConCommand script_ui("script_ui", SQVM_UIScript_f, "Run input code as UI script on the VM", FCVAR_DEVELOPMENTONLY | FCVAR_CHEAT);
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Purpose: checks if the server index is valid, raises an error if not
|
||||
|
@ -34,7 +34,7 @@ static void SQVM_ServerScript_f(const CCommand& args)
|
||||
Script_Execute(args.ArgS(), SQCONTEXT::SERVER);
|
||||
}
|
||||
}
|
||||
static ConCommand script("script", SQVM_ServerScript_f, "Run input code as SERVER script on the VM", FCVAR_DEVELOPMENTONLY | FCVAR_GAMEDLL | FCVAR_CHEAT | FCVAR_SERVER_FRAME_THREAD);
|
||||
static ConCommand script("script", SQVM_ServerScript_f, "Run input code as SERVER script on the VM", FCVAR_DEVELOPMENTONLY | FCVAR_CHEAT | FCVAR_SERVER_FRAME_THREAD);
|
||||
|
||||
namespace VScriptCode
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user