SA-MP Forums Archive
Cars change position - 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: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Cars change position (/showthread.php?tid=167388)



Cars change position - Dime - 12.08.2010

I place my cars here at this position in my gamemod.

But when i turn on server they be here


I tryed to put cars in more in cordinate 'z' but they still finishing there.
Where is problem?


Re: Cars change position - Kitten - 12.08.2010

check ur CreateVehicle or AddStaticVehicle look at there co-rds


Re: Cars change position - ikey07 - 12.08.2010

Its looks like they have fallen trought the ground, but as you said you have tried to set Z higher, also there can be a bright problem, like they stuck in bridge and fall there, I dont know just think so


Re: Cars change position - Dime - 12.08.2010

I didnt put them so much in z+.Also i tryed put objects under but again same.Anyone elso know how fix this?


Re: Cars change position - Kitten - 12.08.2010

show ur code?


Re: Cars change position - Dime - 12.08.2010

here is it..
Quote:

AddStaticVehicle(411,2424.5457,-1677.4948,15.4490,1.6908,142,2);
AddStaticVehicle(411,2428.8972,-1677.2861,15.4464,0.3717,144,144);
AddStaticVehicle(411,2432.9917,-1677.1354,15.4441,0.6967,166,166);
AddStaticVehicle(522,2436.4377,-1677.0386,15.2871,357.2553,1,1);
AddStaticVehicle(514,2424.3364,-1637.7958,20.0381,180.1372,7,76);
AddStaticVehicle(584,2432.1189,-1637.7441,20.5936,180.9981,1,3);

I have ingame cmd to respawn cars.When u type they be on right position.


Re: Cars change position - Dime - 13.08.2010

Pls how fix this?


Re: Cars change position - Steven82 - 13.08.2010

Already explained, it's the Z cordniates i believe.


Re: Cars change position - ikey07 - 13.08.2010

Z cords ++


Re: Cars change position - Dime - 13.08.2010

Quote:

AddStaticVehicle(411,2424.5457,-1677.4948,60.4490,1.6908,142,2);
AddStaticVehicle(411,2428.8972,-1677.2861,60.4464,0.3717,144,144);
AddStaticVehicle(411,2432.9917,-1677.1354,60.4441,0.6967,166,166);
AddStaticVehicle(522,2436.4377,-1677.0386,60.2871,357.2553,1,1);
AddStaticVehicle(514,2424.3364,-1637.7958,60.0381,180.1372,7,76);
AddStaticVehicle(584,2432.1189,-1637.7441,60.5936,180.9981,1,3);

+60 dont work so it isnt in z cord... more help xD