12.02.2014, 07:21
(
Последний раз редактировалось KubiPL; 12.02.2014 в 10:23.
)
1.
New function to get object ID which vehicle is surfing on.
This may return (object ID, -1 if vehicle is on SA objects, 65565 if isn't on object)
Using this in OnUnoccupiedVehicleUpdate will allow as to stop vehicle falling from added objects which is still loading, and detecting airbreak.
2.
Callback which is handling tire attrition for e.g. when player is driving fast and turn his vehicle, on the street are tire tracks, or when player is handbraking etc.
New function to get object ID which vehicle is surfing on.
Код:
GetVehicleSurfingObject(vehicleid, objectid)
Using this in OnUnoccupiedVehicleUpdate will allow as to stop vehicle falling from added objects which is still loading, and detecting airbreak.
2.
Callback which is handling tire attrition for e.g. when player is driving fast and turn his vehicle, on the street are tire tracks, or when player is handbraking etc.