23.12.2012, 21:47
inputtext is a string, not a int. There is no point in making a new string if you're going to just assign another string to it and then check for something. If you want to check if the string just has an & then do this
That will check if there is a & for the first character and there is nothing for the second.
pawn Код:
if(inputtext[0] = '&' & !inputtext[1])