OnObjectNetworkUpdatePropertyValue: Difference between revisions

From Onset Developer Wiki
Dadadah (talk | contribs)
Created page with "{{Info|Function|Client|1.0}} {{FuncDescription|Called when a property value is updated from the network.}} {{FuncSyntax|OnObjectNetworkUpdatePropertyValue(object, PropertyNa..."
 
Dadadah (talk | contribs)
No edit summary
 
Line 19: Line 19:


{{RelatedFunctions}}
{{RelatedFunctions}}
*[[OnObjectNetworkUpdatePropertyValue]]
{{NetworkClientEvents}}
*[[OnPlayerNetworkUpdatePropertyValue]]
*[[OnVehicleNetworkUpdatePropertyValue]]
*[[OnNPCNetworkUpdatePropertyValue]]
*[[OnText3DNetworkUpdatePropertyValue]]
*[[OnPickupNetworkUpdatePropertyValue]]

Latest revision as of 22:42, 26 January 2020

OnObjectNetworkUpdatePropertyValue

Type: Function
Context: Client
Introduced: v1.0

Description

Called when a property value is updated from the network.

Syntax

OnObjectNetworkUpdatePropertyValue(object, PropertyName, PropertyValue)

Parameters

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


Example

AddEvent("OnObjectNetworkUpdatePropertyValue", function(object, propertyName, propertyValue)]
    AddPlayerChat("Object " .. object .. " had property " .. propertyName .. " changed to " .. propertyValue)
end)

See also