OnPlayerNetworkUpdatePropertyValue

From Onset Developer Wiki
Revision as of 22:43, 26 January 2020 by Dadadah (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
OnPlayerNetworkUpdatePropertyValue

Type: Function
Context: Client
Introduced: v1.0

Description

Called when a property value is updated from the network.

Syntax

OnPlayerNetworkUpdatePropertyValue(player, PropertyName, PropertyValue)

Parameters

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


Example

AddEvent("OnPlayerNetworkUpdatePropertyValue", function(playerid, propertyName, propertyValue)
end)

See also