Wierd loading bug.
#3

First you need to get arguments for createvehicle (model, color, positions)

cache_get_field_content(i, "vehicleModelID", result);
new tmp_model = strval(result);

vid = CreateVehicle(tmp_model...

After this you can add values to array.

vehStat[vid][value] = ...

By the way, why you using cache like that?
Better way:

new tmp_model = cache_get_field_content_int(row, "vehicleModelID");
Reply


Messages In This Thread
Wierd loading bug. - by danielpalade - 07.07.2016, 21:39
Re: Wierd loading bug. - by Dusan01 - 08.07.2016, 12:57
Re: Wierd loading bug. - by Rdx - 08.07.2016, 13:08
Re: Wierd loading bug. - by danielpalade - 08.07.2016, 14:59
Re: Wierd loading bug. - by danielpalade - 08.07.2016, 15:10

Forum Jump:


Users browsing this thread: 1 Guest(s)