[HELP] Save a string from inputtext to a variable
#2

Try with it:
Код:
format(VariavelString, sizeof(VariavelString), "%s", inputtext);
If your variable can be change, before format use VariavelString[0] = EOS;
[0] - first char of your string and EOS - End Of String. Thanks to the fact You're making VariavelString empty before insert string into another string.

Also there's a one more function called strins:
Код:
strins(VariavelString, inputtext, 0);
Reply


Messages In This Thread
[HELP] Save a string from inputtext to a variable - by Hayden_Almeida - 10.11.2015, 20:56
Re: [HELP] Save a string from inputtext to a variable - by 7days7 - 10.11.2015, 22:01

Forum Jump:


Users browsing this thread: 1 Guest(s)