command problem
#4

if(!strlen(tmp) || (housestuff < 1 || housestuff > 6))

Well the (housestuff < 1 || housestuff > 6) will return 1 and if(1) is true I think. You have to put the brackets awaylike this:

Код:
 if(!strlen(tmp) || housestuff < 1 || housestuff > 6)
Reply


Messages In This Thread
command problem - by luxeon - 09.02.2009, 19:26
Re: command problem - by Eraz0r - 09.02.2009, 19:30
Re: command problem - by pspleo - 10.02.2009, 19:12
Re: command problem - by Eraz0r - 10.02.2009, 19:15

Forum Jump:


Users browsing this thread: 1 Guest(s)