Value still setting to 100.
#1

If I type 100 in the input box, it sets it to 100. When it should set it to 99.
pawn Код:
if(strlen(inputtext) > 98)// If the Input = Greater than 98, it Auto sets it to 99.
{
    DuelArmor = 99;
}
else
{
    new Float:armor = strval(inputtext);
    DuelArmor = armor;
}
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)