03.08.2014, 17:40
I have problem spawning vehicles.
I've made loading from mysql db and printing results looks fine, and Dynamic ID looks fine but there is no vehicle visible.
Console output:
I've made loading from mysql db and printing results looks fine, and Dynamic ID looks fine but there is no vehicle visible.
Код:
vStats[i][vDynamicId] = CreateDynamicVehicle(vStats[i][vModel], vStats[i][vX], vStats[i][vY], vStats[i][vZ], vStats[i][vRotation], vStats[i][vColor1], vStats[i][vColor2], -1, 50.0); printf("%d %d %f %f %f %f %d %d %d %f", vStats[i][vDynamicId], vStats[i][vModel], vStats[i][vX], vStats[i][vY], vStats[i][vZ], vStats[i][vRotation], vStats[i][vColor1], vStats[i][vColor2], -1, 50.0);
Код:
[19:38:30] 1 411 1746.819946 -1949.020019 14.117199 180.000000 4 2 -1 50.000000 [19:38:30] 2 400 1746.819946 -1949.020019 14.117199 180.000000 1 1 -1 50.000000