Skip to content

onClientCoreCommand should pass arguments as parameters #4142

Open
@PlatinMTA

Description

@PlatinMTA

Is your feature request related to a problem? Please describe.

Right now onClientCoreCommand can be used to know when an user uses a hardcoded clientside command. That's good, but I would like to be able to see the arguments passed to the command, particularly to use certain hardcoded commands as alias for commands in my gamemode.

Describe the solution you'd like

Pass arguments as parameters of onClientCoreCommand (maybe don't pass the arguments for connect so you don't expose a server password?)

Describe alternatives you've considered

Make it possible to add custom commands with hardcoded commands name.

addCommandHandler("showcol", function ()...end) wont work

Additional context

No response

Security Policy

  • I have read and understood the Security Policy and this issue is not about a cheat or security vulnerability.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions