[Help] House Cars spawning in the wrong direction
#1

I changed some house car positions, but they are spawning not straight ahead like i saved the Coords, they are just spawning towards left / right or sometimes even 180° to the back..

This is the House cars code. (The coordinates behind the slashes are the old ones, the coords without slashes and coordinates behind it are standard and not edited yet)

pawn Код:
new Float:HouseCarSpawns[34][4] = {
{-2691.8503,205.2423,4.0989},//H1
{-2647.8877,206.0414,4.0403},//H2
{-2636.2742,244.3577,4.0340},//H3
{-2636.1870,270.9189,4.036},//H4
{-2639.9790,164.2509,4.4214}, //H5
{-2693.9072,77.3754,4.4367},//H6
{-2418.8145,327.0774,34.6729},//H7
{-2555.0938,2269.1538,4.8944},//H8 -2318.0305,30.4555,35.0247
{-2318.0840,-12.1113,35.0249},//H9
{-2346.4993,-23.1750,35.0248},//H10
{-2719.4424,720.2142,40.9396},//H11
{-2690.3132,720.4482,32.3997},//H12
{-2674.0059,720.0835,27.9929},//H13
{-2641.7422,728.0079,27.9609},//H14
{-2571.5454,1148.8217,55.8198},//H15
{-2510.1650,1139.2820,55.8196},//H16
{-2458.5869,1138.7026,55.8199},//H17
{-2664.6626,913.2929,79.3786}, //H18
{-2680.4902,867.4750,76.0737},//H19
{-2711.0737,869.4870,70.4074},//H20
{-2566.0205,2300.9287,4.7393},//H21 -1696.8843,1349.2463,6.8843
{-1679.1088,1327.4213,6.8912},//H22
{-1770.7195,948.5250,24.3127},//H23
{-2100.2520,263.8005,35.5114},///H24
{-2073.5552,230.4712,35.4957},//H25
{-2093.6931,173.8780,34.7331},//H26
{-2611.2871,2360.0281,8.5429},//H27 -1808.7924,1113.5753,45.1497
{-2616.5398,120.8491,4.0438},//H28
{-2718.2964,-15.7240,4.0474},//H29
{-2694.2886,-102.1205,4.0405},//H30
//{1880.2,-2022.3,13.3,180.0},
{-2528.5300,2250.6953,4.8150},//H31 -2062.3604,1190.2208,45.8726
{-2011.7832,1194.6403,45.0463},//H32
{-1941.9913,1193.4011,45.1138},//H33
{-2567.5776,2311.8723,4.8278}//h34 -1900.7162,1189.3602,45.1571
};
And here some pics.

[img width=1024 height=592]http://i44.tinypic.com/t5ivcg.png[/img]

[img width=1024 height=592]http://i44.tinypic.com/j9pwmc.png[/img]
Reply
#2

Add a extra demention to save angle.
Reply
#3

Like this?

pawn Код:
X       Y      Z   Angle
          |       |      |    |
      -2611.2871,2360.0281,8.5429,358.1727
Reply
#4

Yes.
Reply
#5

Thanks it works

Im a noob
Reply
#6

Lol, no problem
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)