Help with converting this (?)
#2

I think you can also do the middle one, but then again I'm not great with ternary operators.
Код:
format(list, sizeof(list), "%s%s\t%s\n", list, g_DealerCars[idx][car_Name], (g_VehicleData[g_HouseData[houseid][h_pVehs][i]][v_Parked] > 0) ? ("Parked") : ("Unparked"));
Reply


Messages In This Thread
Help with converting this (?) - by Sjn - 24.06.2016, 17:52
Re: Help with converting this (?) - by Stinged - 24.06.2016, 17:58
Re: Help with converting this (?) - by Sjn - 24.06.2016, 19:06
Re: Help with converting this (?) - by Stinged - 24.06.2016, 19:35

Forum Jump:


Users browsing this thread: 1 Guest(s)