GetVehicleVelocity in OnUnoccupiedVehicleUpdate
#1

Hi guys. I ran into the problem: getting to know the rate of unoccupied transport in public OnUnoccupiedVehicleUpdate, I get the last speed when transportation was occupied the driver. In the wiki about it nothing is written, however, judging by GetVehiclePos that returns the correct values​​, then here something is wrong...
Reply
#2

In 0.3z R4:
- The OnUnoccupiedVehicleUpdate is updated to include the new velocity of the vehicle updated.

Read https://sampwiki.blast.hk/wiki/OnUnoccupiedVehicleUpdate and check your code.
Reply
#3

Quote:
Originally Posted by IvanAyuso
Посмотреть сообщение
In 0.3z R4:
- The OnUnoccupiedVehicleUpdate is updated to include the new velocity of the vehicle updated.

Read https://sampwiki.blast.hk/wiki/OnUnoccupiedVehicleUpdate and check your code.
Yes, I know about it. But it not comfortable, for example, to get the old speed vehicle, create the new variables and writing them new speed each time.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)