SA-MP Forums Archive
Falling through the ground while exiting a building/house - 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: Falling through the ground while exiting a building/house (/showthread.php?tid=153977)



Falling through the ground while exiting a building/house - omfggus - 11.06.2010

Alright, i mapped my own island and i got a problem, just one problem to get my server running.

When you enter a building it works but when you exit it you fall trough the ground into the water
this shit is pissing me off. Anyone know how to fix it?


Re: Falling through the ground while exiting a building/house - DJDhan - 11.06.2010

Under your exit code, you must be having a SetPlayerPos function.
Just add 2 to the z co-ordinate.



Re: Falling through the ground while exiting a building/house - omfggus - 11.06.2010

dude, i use a command to set the exit position and + you dont type /enter you press enter to exit/enter, so what should i do now?


Re: Falling through the ground while exiting a building/house - Hiddos - 11.06.2010

You using streamed objects?


Re: Falling through the ground while exiting a building/house - omfggus - 11.06.2010

Yes i use a streamer to my objects


Re: Falling through the ground while exiting a building/house - TheInnocentOne - 12.06.2010

Your streamer isn't updating fast enough, so the objects appear after the player has fallen through them and into the water. What streamer are you using for your objects?



Re: Falling through the ground while exiting a building/house - Johndaone - 12.06.2010

Add so it freezes the player for 2 seconds or something, so the player gets some time to load the objects.
That works



Re: Falling through the ground while exiting a building/house - omfggus - 12.06.2010

Thanks JOhndaone, i wil test it.

TheInnocentOne, Im using Midostream


Re: Falling through the ground while exiting a building/house - DJDhan - 12.06.2010

Quote:
Originally Posted by omfggus
dude, i use a command to set the exit position and + you dont type /enter you press enter to exit/enter, so what should i do now?
Whatever you are doing, you must be having a code for setting the player's position outside and inside the house. If you add 2-5 to the z co-ordinate, the objects will be streamed before he reaches the ground.


Re: Falling through the ground while exiting a building/house - omfggus - 12.06.2010

Where is the z-cordinate, i don't really remembert those angles