Problem with streamer and teleport
#1

I have a problem with streamed objects and teleport:
For example i create ground somewhere in the sky. When i teleport player on that ground, he sometimes falls down, because streamer delays ground object stream.

Any suggestions?
Reply
#2

Maybe
pawn Code:
native Streamer_UpdateEx(playerid, Float:x, Float:y, Float:z, worldid = -1, interiorid = -1);
to preload the items before it sets the position for the player?
Reply
#3

If it streams late, it's the person's internet connection. not a samp bug
Reply
#4

Quote:
Originally Posted by Vanter
View Post
If it streams late, it's the person's internet connection. not a samp bug
Well, obviously but not only. I'm making a DD/DM map and when I set the position and I teleport from somewhere away, it sometimes fail and I fall down. I need to re-teleport. Howerver, I used the function I gave above to preload the items before I set the position. I'm now teleporting there without falling!
Reply
#5

make a timer.. te re-teleport, or to freeze him for 5 seconds or something.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)