inputtext help
#1

Hello Guys,
I have a problem i want to cut inputtext and to return just the first character
like inputtext[1] but it doesn't work.


Please help me .
Reply
#2

Quote:
Originally Posted by ~~Seb' Script~~
Посмотреть сообщение
Hello Guys,
but it doesn't work.
Ah, love these vague descriptions! Doesn't work how? What have you tried? Provide the code if you want people to assist you. Anyway, to extract a single character, use "%c" rather than "%s".
Reply
#3

Well you don't do inputtext[1] because that's looking for something else.

You might be able to:

pawn Код:
strmid(some_variable, inputtext, 1, 1);
Though im not sure.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)