OnObjectNetworkUpdatePropertyValue
From Onset Developer Wiki
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)