26.10.2015, 18:09
I have a suggestion:
I always code in english, so all my variables, methods and such are in english. It seems that sheobill generates command help messages from command method argument names and that is a problem for me as my server is deisgned for non english speaking users.
Would it be possible/practical to add some annotation before command parameters to rename them?
For example:
And when the user forgets to enter a player identifier it would say "Usage /hello [ąęųљįčę]".
And a question: If I return false in a command method, will the usage method be sent?
I always code in english, so all my variables, methods and such are in english. It seems that sheobill generates command help messages from command method argument names and that is a problem for me as my server is deisgned for non english speaking users.
Would it be possible/practical to add some annotation before command parameters to rename them?
For example:
pawn Код:
@Command
public bool hello(Player p, Player @CommandParam("ąęųљįčę")p2)
{
return true;
}
And a question: If I return false in a command method, will the usage method be sent?