OnPickupNetworkUpdatePropertyValue

From Onset Developer Wiki
OnPickupNetworkUpdatePropertyValue

Type: Function
Context: Client
Introduced: v1.0

Description

Called when a property value is updated from the network.

Syntax

OnPickupNetworkUpdatePropertyValue(pickupId, PropertyName, PropertyValue)

Parameters

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

Example

AddEvent("OnPickupNetworkUpdatePropertyValue", function(pickupId, propertyName, propertyValue)
end)

See also