04.04.2011, 15:03
Thanks for the quick reply.
According to the previous owner, the loop was intended to prevent the player to fall trough objects when they teleport in a car. Maybe that is related to the problem, but the weird thing is that it has been like this for a year or so :O.
LoadDynamicObjectsForPlayer is a function that is used mainly to unfreeze the player after teleporting.
But when I took a closer look to that function, I saw that it loops Streamer_UpdateEx another 26 times O_O.
I removed all the loops and merged that function with the TelePlayer one.
I hope this fixes the problem, and doesn't cause players to fall trough the map in a car.
Thanks, Yoshi
According to the previous owner, the loop was intended to prevent the player to fall trough objects when they teleport in a car. Maybe that is related to the problem, but the weird thing is that it has been like this for a year or so :O.
LoadDynamicObjectsForPlayer is a function that is used mainly to unfreeze the player after teleporting.
But when I took a closer look to that function, I saw that it loops Streamer_UpdateEx another 26 times O_O.
I removed all the loops and merged that function with the TelePlayer one.
I hope this fixes the problem, and doesn't cause players to fall trough the map in a car.
Thanks, Yoshi