"if" doesn't work
#6

not sure if your trying to do like can't exceed the numbers

so you need to do it like

Код:
if(value < 0 || value > 10000) {
// Not allowed
} else batteries[id][count] = value;
Presume that whats you mean?
Reply


Messages In This Thread
"if" doesn't work - by Stoyanov - 14.11.2014, 20:30
Re: "if" doens't work - by UltraScripter - 14.11.2014, 20:36
Re: "if" doens't work - by Stoyanov - 14.11.2014, 20:44
Re: "if" doesn't work - by GGRoleplay - 14.11.2014, 20:54
Re: "if" doesn't work - by UltraScripter - 14.11.2014, 20:55
Re: "if" doesn't work - by Shaneisace - 14.11.2014, 21:05
Re: "if" doesn't work - by Stoyanov - 14.11.2014, 21:08
Re: "if" doesn't work - by UltraScripter - 14.11.2014, 21:19
Re: "if" doesn't work - by Stoyanov - 14.11.2014, 21:19
Re: "if" doesn't work - by Stoyanov - 14.11.2014, 21:21

Forum Jump:


Users browsing this thread: 9 Guest(s)