11.02.2014, 21:39
Quote:
- Changes to the behaviour and parameters of OnUnoccupiedVehicleUpdate.
In previous server versions, clients could send updates about vehicles that aren't being controlled/driven by other players, although the server had no ability to cancel these updates. The script will now be notified about such updates before the vehicle is updated internally. GetVehiclePos would return the existing position, not the updated position. Newly added parameters describe the player's requested update position. The script can now return 0 to cancel the update or return 1 to allow the update through. All scripts using OnUnoccupiedVehicleUpdate will need to be updated and recompiled for 0.3z. pawn Code:
|