problem buildings
#1

When I teleported inside a building based on GTA instead of being on the floor I am completely bugged, how to solve it?

Here's a picture:

http://www.upimg.fr/ih/f3q1.png
Reply
#2

Freeze player before the objects will be loaded.
Reply
#3

not work.
Reply
#4

Can you explain more sir?..
Did you try to go to an interior or to Main World?
Reply
#5

I pulled a building with map editor and I have took the center position (/ save), and I gave thereafter the buidling teleporting to coordinate saved before without the building and when I go it makes me worry about the screenshot when I should have feet on the ground and be surrounded by the building? ...
Reply
#6

https://sampforum.blast.hk/showthread.php?tid=190556
Reply
#7

As [HRD]Mar1 said, new objects require time to load. It will take atleast 2-4 seconds for the new object to load. If you TP to the building before its loaded, you will spawn at the real SA object below it... Try this order.
under command -

SetPlayerPos(playerid, x,y,z+7.0);
TogglePlayerControllable(playerid, 0);
SetTimerEx("UnFreeze", 3000, false, "i", playerid);

public UnFreeze(playerid)
{
TogglePlayerControllable(playerid, 1);
return 1;
}


Or if this is much time consuming, try to TP player to SetPlayerPos(playerid, X, Y,Z+10.0)
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)