25.03.2012, 13:25
do it with sscanf2 ^^
parse FirstName, search for the '_', the second name is a {quiet} parameter, so aSecondName is not required:
i <3 the '_' search function, maybe the p<_> delimeter could do that too..
parse FirstName, search for the '_', the second name is a {quiet} parameter, so aSecondName is not required:
pawn Code:
sscanf(PlayerName,"s[24]'_'{s[24]}",FirstName);