Hello. I noticed this situation that if I enter a command in chat " 3" (with a space), then OnPlayerCommandReceived in cmd comes //3. This is one of the observations. At the same time, if you enter the command through a space, the server just crashes, without any logs, but with an error - Segmentation fault.
I already tried to do just return 1, but it doesn't solve the problem, so I'm sure that the problem is not in my code
I apologize for creating a topic. The problem was found, it was in one of the include files. There was a call of this function without parameters and flag.
Hello. I noticed this situation that if I enter a command in chat " 3" (with a space), then
OnPlayerCommandReceived
incmd
comes//3
. This is one of the observations. At the same time, if you enter the command through a space, the server just crashes, without any logs, but with an error -Segmentation fault
.I already tried to do just
return 1
, but it doesn't solve the problem, so I'm sure that the problem is not in my code