How to add more items to my input dialog?
#5

You could also do
pawn Код:
if(inputtext[0] = '1')
{
    if(inputtext[1] = '0') //10
    { }
    else if(inputtext[1] = '1') //11
    { }
    else if(inputtext[1] = '\0') //EOS (end of string) aka only '1'
    { }
}
But that's the harder way of doing it..
Reply


Messages In This Thread
How to add more items to my input dialog? - by ZamaXor - 24.09.2010, 11:29
Re: How to add more items to my input dialog? - by [XST]O_x - 24.09.2010, 11:32
Re: How to add more items to my input dialog? - by ZamaXor - 24.09.2010, 11:39
Re: How to add more items to my input dialog? - by smeti - 24.09.2010, 13:04
Re: How to add more items to my input dialog? - by LarzI - 24.09.2010, 13:14

Forum Jump:


Users browsing this thread: 1 Guest(s)