/vehicle park command problem
#2

You're not showing enough code. I can assume this is returning 0: strcmp(x_nr,"park",true)

Therefore, none of the code you're showing is being executed.

And strcmp + an if/elseif/elseif/elseif/elseif structure is so wrong. strcmp("a", "b") will return 1, so from then on you'll already know that the first letter is b - you can re-use that information to narrow down the rest of the comparisons and save your code a lot of work.
Reply


Messages In This Thread
/vehicle park command problem - by Youssef214 - 04.06.2014, 15:27
Re: /vehicle park command problem - by Deji - 04.06.2014, 16:00

Forum Jump:


Users browsing this thread: 1 Guest(s)