Posts: 213
Threads: 3
Joined: Oct 2011
Reputation:
0
Freeze player before the objects will be loaded.
Posts: 178
Threads: 7
Joined: Oct 2011
Reputation:
0
Can you explain more sir?..
Did you try to go to an interior or to Main World?
Posts: 53
Threads: 15
Joined: May 2013
Reputation:
0
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? ...
Posts: 178
Threads: 7
Joined: Oct 2011
Reputation:
0
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)