02.02.2017, 08:10
Hi all, as I know I can use LIST dialog type as a inputtext when player response. So how I can get player names string on this example?
new tmpName[MAX_PLAYER_NAME + 1];
inputtext[1] = ' '; //Assuming your inputtext will be from each line only. Replacing '.' to ' ' (space) to make it use for current version of sscanf.
sscanf(inputtext, "?<SSCANF_QUIET=1>{d}s[25]'\t'{s}", tmpName);
//tmpName now holds the name.