SA-MP Forums Archive
Vehicles fall trough the floor. - 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)
+--- Thread: Vehicles fall trough the floor. (/showthread.php?tid=72005)



Vehicles fall trough the floor. - Manuel4 - 05.04.2009

Hello,

I'm making a stunt server, which is already online.
Now, I've made a /speed stunt, which makes you spawn on top of the stunt, which is in the air

When you teleport there, the objects are not loaded yet, so the vehicles fall trough the floor, and you fall trough the floor as well When you do /speed after that, you'll be able to stand on the floor, but the cars aren't there anymore..

What can I do to fix this? I use MidoStreamer to stream my objects, and the load distance is "1000.0".

Thanks in advance.


Re: Vehicles fall trough the floor. - gijsmin - 05.04.2009

Use this: http://forum.sa-mp.com/index.php?topic=85795.0


Re: Vehicles fall trough the floor. - Manuel4 - 06.04.2009

Hmm, I tried installing that on my server, but it didn't work. Since the server is working with Linux. I've tried it on my computer, and it perfectly worked, since I use Windows. Now, in the thread there is something said about converting some files to .so, I have no idea how.


Re: Vehicles fall trough the floor. - gijsmin - 06.04.2009

don't add the .so just add .dll


Re: Vehicles fall trough the floor. - Manuel4 - 09.04.2009

I've contacted the server owner of serverffs, and he compiled my files. It's working now, thanks for your help!


Re: Vehicles fall trough the floor. - ReV. - 09.04.2009

You could also make the base CreateObject


Re: Vehicles fall trough the floor. - Beljulji - 15.09.2012

i have the same problem i use ****** streamer and when i type like /stuntroad i fall down and cars too is there any way to fix it? is there any command or somthing like that that lock vehicle in the position until player get in the vehicle?


Re: Vehicles fall trough the floor. - gtakillerIV - 15.09.2012

Make sure to add the AddStaticVehicle first then the CreateObject.


Re: Vehicles fall trough the floor. - Beljulji - 15.09.2012

why addstaticvehicle why not createvehicle?


Re: Vehicles fall trough the floor. - gtakillerIV - 15.09.2012

Sorry I made a HUGE mistake it should be :-

Make sure to add the CreateObject first then the AddStaticVehicle/CreateVehicle.