30.03.2014, 10:20
Actually, that wouldn't fix the problem.
You are using cmdtext, so you need to count the length of the command, then replace cmdtext at sccanf with cmdtext[number]. Replace that number with the length + 1
You are using cmdtext, so you need to count the length of the command, then replace cmdtext at sccanf with cmdtext[number]. Replace that number with the length + 1