cant understand these codes
#1

cant understand these codes which my freind gave me for vehicles and now he is offline so can some one convert this to CreateVehicle
Код:
// Dynamic Vehicles Format = X, Y, Z, Angle, Vehicle ID
-6353.129882 -2149.539306 10.997420 290.066009 444
-6348.344726 -2144.462646 10.978500 198.019851 444
-6356.778808 -2144.008300 11.000479 197.173049 444
2770.954345 -1756.746337 41.890594 276.767272 522
2778.986328 -1761.658691 41.236640 279.784057 522
2788.564453 -1755.363281 40.094249 266.162902 522
2791.562255 -1759.520507 39.433704 271.285919 522
2799.442138 -1759.396972 37.682415 273.326110 522
1395.175292 1354.882080 10.527986 89.097045 560
1397.557250 1349.856445 10.591771 89.570869 415
1399.197753 1346.015869 10.445240 90.071937 541
1401.515136 1341.759887 10.381489 90.711151 522
1390.750366 1341.626586 10.364027 90.711021 522
1384.146240 1349.101074 11.240302 94.283157 444
1926.021972 -2278.592773 13.907744 185.840042 444
1921.498901 -2277.997558 13.251682 180.054183 560
1915.187988 -2278.364257 13.251927 176.949935 560
1931.328735 -2277.698242 13.251337 353.215637 560
1935.697143 -2275.667968 13.192129 171.247482 541
1933.949218 -2287.023681 13.171640 171.247406 541
1959.826660 -2275.713867 13.317292 186.432983 415
1950.337646 -2277.203613 13.317625 5.019950 415
-1370.309814 -50.135669 14.017953 42.894027 603
-1378.447998 -41.377086 13.986753 42.897502 603
-1371.836669 -53.829448 13.848642 52.745212 560
-1379.916748 -46.898925 13.852653 48.403861 560
-1374.507324 -58.783279 13.778737 40.739479 541
-1380.851074 -51.418235 13.772964 40.738597 541
-1373.711669 -67.117721 13.916815 43.103607 415
-1380.762329 -59.586013 13.921917 43.146293 415
Reply
#2

Well for create vehicles using those values its easy. It should be:

pawn Код:
CreateVehicle(444, -6353.129882 -2149.539306 10.997420 290.066009, 0);
I took the first values to show you how to do that.
Reply
#3

ANOTHER EDIT: What about car colors?
Reply
#4

Quote:
Originally Posted by Frosty_LV
Посмотреть сообщение
What about car colors?
Oh ye i forgot...

Well

The values he got are X,Y,Z and ID of the vehicle.

CreateVehicle syntax are (vehicleid, x,y,z, color1, color2, respawn);

so just replace the example with your values.
Reply
#5

Quote:
Originally Posted by TheArcher
Посмотреть сообщение
Well for create vehicles using those values its easy. It should be:

pawn Код:
CreateVehicle(444, -6353.129882 -2149.539306 10.997420 290.066009, 0);
I took the first values to show you how to do that.
not worked
Reply
#6

Quote:
Originally Posted by Pro_Scriptor
Посмотреть сообщение
not worked
like i said above i forgot to add the colors

CreateVehicle(444, -6353.129882, -2149.539306, 10.997420, 290.066009,45,45, 0);

the syntax to follow is

CreateVehicle(vehicletype, Float, Float:y, Float:z, Float:rotation, color1, color2, respawn_delay);
Reply
#7

I like how your name is Pro Scriptor when you cant script.
Reply
#8

@LukeStephens it is not that i dont know scripting it is that i did not read this code on the top
Код:
// Dynamic Vehicles Format = X, Y, Z, Angle, Vehicle ID
so problemo solved to all those who helped including LukeStephens gets a rep from me
Reply
#9

Made no sense bro, use grammar, you need it.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)