Vehicle facing angle is bugged
#1

I don't think the command is bugged
PHP код:
SetVehicleZAngle(rentableVehicleInfo[rentable][vAngle]);
            
SetVehiclePos(rentableVehicleInfo[rentable][vX], VehicleInfo[rentable][vY], VehicleInfo[rentable][vZ]); 
because the vehicle respawns with the right angle and pos.

If a player pushes the vehicle and uses the respawn command, the vehicle is respawning correctly with the right pos and angle, but if the player leaves the area, goes far away and comes back, the vehicle facing angle is the one how the vehicle was pushed by the player.

Still, data inside the variable and database are the correct one and again if the vehicle gets respawned it spawns with the correct positions.

So it sounds like a desync bug? But what causes it...

So if the player touches or enters the vehicle while facing a way, thats how the vehicle will show for that player
Reply


Messages In This Thread
Vehicle facing angle is bugged - by AndreiWow - 21.10.2017, 11:54
Re: Vehicle facing angle is bugged - by CodeStyle175 - 21.10.2017, 15:16
Re: Vehicle facing angle is bugged - by AndreiWow - 21.10.2017, 18:51
Re: Vehicle facing angle is bugged - by Spmn - 21.10.2017, 21:25

Forum Jump:


Users browsing this thread: 2 Guest(s)