LabAPI icon indicating copy to clipboard operation
LabAPI copied to clipboard

[BUG] Cannot modify command arguments in CommandExecuting event if the command was executed through RA or Client Console

Open Xname7 opened this issue 1 year ago • 1 comments

Before You Report

  • [x] I have searched for existing reports of this bug, and this bug report is unique.

Version

1.1.4

Description

Game doesn't respect arguments variable in RemoteAdmin.CommandProcessor::ProcessQuery and GameCore.Console::TypeCommand when executing the command.

To Reproduce

In CommandExecuting event try to modify Arguments property, the code will only work with RA commands executed through server console.

Expected Behavior

Now, broken version: command.Execute(array.Segment(1), sender, ...)

What it should be: command.Execute(arguments, sender, ...)

Additional Information

Image

Image

Xname7 avatar Oct 31 '25 13:10 Xname7

Fixed in 14.2.3

SlejmUr avatar Dec 17 '25 08:12 SlejmUr