SetPlayerPos BUG
#1

Who know This BUG? :

https://*********/p3pELq8TWas
And the script:
PHP код:
if (IsPlayerInRangeOfPoint(playerid,2,1752.1890,-1753.5682,14.7250))
               {
                    
SetPlayerInterior(playerid,10);
                    
SetPlayerPos(playerid,386.6023,2324.0242,1889.5812);
                    
SetPlayerFacingAngle(playerid,93.5558);
                    
PlayerInfo[playerid][pInt] = 10;
               }
               else if (
IsPlayerInRangeOfPoint(playerid,2,386.6023,2324.0242,1889.5812))
               {
                    
SetPlayerInterior(playerid,0);
                    
SetPlayerPos(playerid,1752.1890,-1753.5682,14.7250);
                    
SetPlayerFacingAngle(playerid,3.6319);
                    
PlayerInfo[playerid][pInt] = 0;
               } 
Reply
#2

That's how it works, because the objects are streamed in after the player has entered. The player starts in the air and then falls onto the object being streamed.
Reply
#3

and i can't change no ?
Reply
#4

You can freeze the player for 2 seconds when he enters.
Reply
#5

It looks like the player spawns too high in the air maybe lower the Z teleport position by 0.1 meters.
Reply
#6

@Terrorizt Thank you, i give you + rep,
Thank you all
Reply
#7

Quote:
Originally Posted by Pottus
Посмотреть сообщение
It looks like the player spawns too high in the air maybe lower the Z teleport position by 0.1 meters.
Combine this with freezing then because otherwise people who lag might fall through the floor.
Reply
#8

Quote:
Originally Posted by Sn4ke2
Посмотреть сообщение
@Terrorizt Thank you, i give you + rep,
Thank you all
Anytime
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)