OnVehicleNetworkUpdatePropertyValue: Difference between revisions

From Onset Developer Wiki
28days (talk | contribs)
Created page with "{{Info|Function|Client|1.0}} {{FuncDescription|Called when a property value is updated from the network.}} {{FuncSyntax|OnVehicleNetworkUpdatePropertyValue(vehicle, Property..."
 
Dadadah (talk | contribs)
No edit summary
Line 18: Line 18:


{{RelatedFunctions}}
{{RelatedFunctions}}
*[[OnObjectNetworkUpdatePropertyValue]]
*[[OnPlayerNetworkUpdatePropertyValue]]
*[[OnPlayerNetworkUpdatePropertyValue]]
*[[OnVehicleNetworkUpdatePropertyValue]]
*[[OnVehicleNetworkUpdatePropertyValue]]

Revision as of 22:17, 26 January 2020

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