OnPlayerNetworkUpdatePropertyValue: Difference between revisions

From Onset Developer Wiki
(Created page with "{{Info|Function|Client|1.0}} {{FuncDescription|Called when a property value is updated from the network.}} {{FuncSyntax|OnPlayerNetworkUpdatePropertyValue(player, PropertyNa...")
 
No edit summary
Line 13: Line 13:
== Example ==
== Example ==
<syntaxhighlight lang="Lua>
<syntaxhighlight lang="Lua>
AddEvent("OnPlayerNetworkUpdatePropertyValue", function(playerid, propertyName, propertyValue)
end)
</syntaxhighlight>
</syntaxhighlight>


{{RelatedFunctions}}
{{RelatedFunctions}}
{{ClientEvents}}
*[[OnPlayerNetworkUpdatePropertyValue]]
*[[OnVehicleNetworkUpdatePropertyValue]]
*[[OnNPCNetworkUpdatePropertyValue]]
*[[OnText3DNetworkUpdatePropertyValue]]
*[[OnPickupNetworkUpdatePropertyValue]]

Revision as of 17:04, 15 December 2019

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