Is this the correct way to make a string sized array == to inputtext?
#3

Quote:
Originally Posted by ranme15
Посмотреть сообщение
'else' is useless in this case.
However, about the string, it can be done by using format:
PHP код:
format(g_DialogName100inputtext); 
Or by the way you used, just without the string size [].
Thanks bro, it works.

One little question though.

I have another problem, like this is simple yet unbelievably stupid.

I have done this:

pawn Код:
g_DialogID = strval(inputtext);
And it works and all, but when I'm showing it inside a dialog it like, writes a.. Well not a number nor a character, it's like a weird, symbol.

I don't know why it happends, do you know why?


Edit: Nevermind, I'm so dumb, accidently used a string specifier instead of an integer one.
Reply


Messages In This Thread
Is this the correct way to make a string sized array == to inputtext? - by Ox1gEN - 24.09.2014, 20:47
Re: Is this the correct way to make a string sized array == to inputtext? - by ranme15 - 24.09.2014, 20:51
Re: Is this the correct way to make a string sized array == to inputtext? - by Ox1gEN - 24.09.2014, 21:13

Forum Jump:


Users browsing this thread: 1 Guest(s)