[FilterScript] [Help] CreateVehicle. - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (
https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] [Help] CreateVehicle. (
/showthread.php?tid=247819)
[Help] CreateVehicle. -
Mister. M - 10.04.2011
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.
Re: [Help] CreateVehicle. -
Tom1412 - 12.04.2011
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.
Re: [Help] CreateVehicle. -
sim_sima - 13.04.2011
Post in scripting discussion please!!
Re: [Help] CreateVehicle. -
Sasino97 - 13.04.2011
In the string you used " %d " instead of " %f "
I hope this is the solution...