20.12.2016, 18:50
I don't know why the crash occurred in the first place in a native such tolower but I'm curious what will report if you replace:
to:
pawn Code:
funcname[pos-1] = tolower(cmdtext[pos]);
pawn Code:
funcname[pos-1] = cmdtext[pos] | 0x20;