[FilterScript] [Help] CreateVehicle.
#1

Hello Guys.

Well i have some big problem, i cant spawn my vehicles in my map.
I used echo for the X - Y - Z or something. and then i'll get this:

Код:
1153413713

-992771383

1096163328
Like i already have seen is that the normal codes have a dot included.
But how can i get this real X Y Z..

Can somebody make me a command for that or something?

Thanks in future.
Reply
#2

to get the x - y - z i just do /save (wot u want to call the save in the file its cords then //(wot ever u called it))
You can save it in a car or on foot, if u want to add vehicles save it in a vehicle.

then goto ur Doctuments then GTA San Andreas User Files then samp and open savedpositions there u go u have the cords.

On foot cords
pawn Код:
AddPlayerClass(121,      1495.7065,-697.3562,94.7500,186.8084,0,0,0,0,0,0); // test
             skin id,   X,              Y,            Z,          A

In car cords
pawn Код:
AddStaticVehicle(411,      1494.7678,-700.5406,94.4321,202.6043,        3,             3); // test car
                car id,       X,            y,           z,      rotaion z, carcolor 1,  car color 2
and that is how u get the exact saved cords

Hope this helps you out need anymore help message me.
Reply
#3

Post in scripting discussion please!!
Reply
#4

In the string you used " %d " instead of " %f "

I hope this is the solution...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)