OnVehicleNetworkUpdatePropertyValue

From Onset Developer Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
OnVehicleNetworkUpdatePropertyValue

Type: Function
Context: Client
Introduced: v1.0

Description

Called when a property value is updated from the network.

Syntax

OnVehicleNetworkUpdatePropertyValue(vehicle, PropertyName, PropertyValue)

Parameters

  • vehicle
    The vehicle identifier.
  • PropertyName
    The name of the property that has changed.
  • PropertyValue
    The new property value.


Example

AddEvent("OnVehicleNetworkUpdatePropertyValue", function(vehicleId, propertyName, propertyValue)
end)

See also