Value still setting to 100.
#2

strlen returns the number of characters, you need to use strval
pawn Код:
if(strval(inputtext) > 98) DuelArmor = 99;
else DuelArmor = strval(inputtext);
Reply


Messages In This Thread
Value still setting to 100. - by Lynn - 23.06.2011, 16:10
Re: Value still setting to 100. - by gimini - 23.06.2011, 16:18
Re: Value still setting to 100. - by Lynn - 23.06.2011, 16:31
Re: Value still setting to 100. - by gimini - 23.06.2011, 16:33
Re: Value still setting to 100. - by Lynn - 23.06.2011, 16:34

Forum Jump:


Users browsing this thread: 3 Guest(s)