28.01.2014, 20:52
use sscanf.
pawn Код:
new szFirstName[9], szSecondName[9];
if(!sscanf(inputtext, "p<_>s[9]s[9]", szFirstName, szSecondName)) {
//names splitted.
}
else {
//code here..
}