12.10.2009, 12:33
Ok, i have a problem. A have command for port cars from event garage to event races, and there is a problem with cars angle when i port them. Ok this is my code:
part from command:
NfsSFprviSpawns:
and when i port this wehicles to another location angle does not mach like on 0.2x server. They are rotated about 30 degres.
Question is, did angle in SetVehicleZAngle in 0.3 and 0.2x diferent?
part from command:
Код:
SetVehiclePos(h, NfsSFprviSpawns[h-odvozila][0], NfsSFprviSpawns[h-odvozila][1], NfsSFprviSpawns[h-odvozila][2]); SetVehicleZAngle(h, NfsSFprviSpawns[h-odvozila][3]);
Код:
new Float:NfsSFprviSpawns[8][4] = { {-2403.3811,-584.9526,132.3550,306.5826},//vozilo 1 {-2401.4153,-587.2599,132.3554,304.6973},//vozilo 2 {-2399.6099,-589.6489,132.3555,303.9410},//vozilo 3 {-2397.9277,-591.9950,132.3553,306.2879},//vozilo 4 {-2396.4810,-594.6130,132.3551,305.5128},//vozilo 5 {-2394.5796,-596.9117,132.3546,304.8688},//vozilo 6 {-2393.0657,-599.4066,132.3560,304.8253},//vozilo 7 {-2391.2209,-601.7746,132.3555,305.1953}//vozilo 8 };
Question is, did angle in SetVehicleZAngle in 0.3 and 0.2x diferent?