Client bug when using PutPlayerInVehicle
#1

Today, I used PutPlayerInVehicle. When my friend tested my code and I was looking near him, I saw following:

After PutPlayerInVehicle, the player was put in the correct vehicle. BUT, the old vehicle where player was previously in ,was following the new vehicle without a driver.

I don't know how to explain this, but I will post a picture later.

Anyone noticed the same? Using 0.3b R3
Reply
#2

Yes.
This is a streaming problem.
Other Clients don't see the player changing the car, but the client notices the moving of both cars.
In affect both cars moves, but only at streamed in players
Reply
#3

Happens to me to.
Reply
#4

It's basically single player limitations. I know GTA isn't exactly realistic, but CJ would never be put in another vehicle, whilst in a different vehicle.

Tip of the day, don't put a player in a vehicle, if he's already in a vehicle. Not a SA-MP bug imo.
Reply
#5

Remove the player from vehicle then put them back into the new vehicle id.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)