[Include] acmd - Configurable first character [e.g ! or @] with params support.
#9

Quote:
Originally Posted by ******
Посмотреть сообщение
Two bugs. This doesn't work:

pawn Код:
#define CMD_CHAR '/'
This crashes the server:

Код:
!this_is_a_very_long_bit_of_text_0123456789_0123456789_0123456789
About CMD_CHAR thingy, can I do it like this, right?
pawn Код:
#if CMD_CHAR == '/'
    #error CMD_CHAR can't be a slash!
#endif
About this :
Код:
!this_is_a_very_long_bit_of_text_0123456789_0123456789_0123456789
I have no idea, I tested it with bare gamemode. The result I get was not server crash, instead of the command was not processed (!this_is_a_very_long_bit_of_text_0123456789_01234 56789_0123456789 was sent in the chat).

I haven't find any idea why that doesn't work. (!this_is_a_very_long_bit_of_text_0123456789_01234 56789_0123456789)
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)