Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translating command parameter names #269

Closed
Zelyutin opened this issue Jun 29, 2018 · 2 comments
Closed

Translating command parameter names #269

Zelyutin opened this issue Jun 29, 2018 · 2 comments
Assignees
Labels
area-Commands Issues related to player/RCON commands feature wontfix

Comments

@Zelyutin
Copy link
Contributor

I wish the support for translating command parameres names will be implemented in the future. So everyone can have fully translated Usage message, not only the template.

@ikkentim
Copy link
Owner

ikkentim commented Jul 5, 2018

I'll be looking into providing a custom formatting function for the usage message, and a way of translating the parameter names to a local language.

@ikkentim ikkentim added this to the 0.8.0 milestone Jul 5, 2018
@ikkentim ikkentim changed the title Translating command parametres names Translating command parameter names Jul 5, 2018
@ikkentim ikkentim added the area-Commands Issues related to player/RCON commands label Jul 5, 2018
@ikkentim ikkentim self-assigned this Jul 8, 2018
@ikkentim ikkentim modified the milestones: 0.8.0, 0.8.1 Nov 15, 2018
@ikkentim ikkentim modified the milestones: 0.9.0, 0.10.0 Jan 15, 2020
@ikkentim
Copy link
Owner

I won't be building a more convenient way to do this as it would take more time than I'd like to spend on SampSharp.GameMode and since there's already a way to do this:

This can be done by overriding the bool SendUsageMessage(BasePlayer player) method from DefaultCommand. See https://sampsharp.net/player-commands#overriding-default-behavior for information on overriding default command behavior.

@ikkentim ikkentim removed this from the 0.10.0 milestone Jan 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-Commands Issues related to player/RCON commands feature wontfix
Projects
None yet
Development

No branches or pull requests

2 participants