i need help with error
#2

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
pawn Код:
if(inputtext[0] = '&' & !inputtext[1])
That will check if there is a & for the first character and there is nothing for the second.
Reply


Messages In This Thread
i need help with error - by madh3r0 - 23.12.2012, 20:11
Re: i need help with error - by [HiC]TheKiller - 23.12.2012, 21:47
Re: i need help with error - by madh3r0 - 23.12.2012, 21:55
Re: i need help with error - by [HiC]TheKiller - 23.12.2012, 22:00
Re: i need help with error - by madh3r0 - 23.12.2012, 22:02
Re: i need help with error - by madh3r0 - 23.12.2012, 22:17
Re: i need help with error - by [HiC]TheKiller - 23.12.2012, 22:23
Re: i need help with error - by madh3r0 - 23.12.2012, 22:34

Forum Jump:


Users browsing this thread: 4 Guest(s)