Help about Job system.
#2

Could you post some of the code of the higher jobs? So any job above 7.
It seems that in some way, the first if-statement always returns true in your case, resulting in getting the lowest payment. I can't see anything in this code right now, so maybe there's a typo or something in the other jobs resulting it to set it to one of the lower jobs.

Also try using the 'in-between' notation, using '<=' and '>=', rather than a sum of '||'.
Job 1 to 7 would then become if(mJob[i] >= 1 && <= 7).
Reply


Messages In This Thread
Help about Job system. - by [WH]Marcos - 08.02.2014, 14:49
Re: Help about Job system. - by judothijs - 08.02.2014, 15:02
Re: Help about Job system. - by CuervO - 08.02.2014, 15:48
Re: Help about Job system. - by [WH]Marcos - 08.02.2014, 16:21

Forum Jump:


Users browsing this thread: 1 Guest(s)