OnNPCNetworkUpdatePropertyValue
From Onset Developer Wiki
Description
Called when a property value is updated from the network.
Syntax
OnNPCNetworkUpdatePropertyValue(vehicle, PropertyName, PropertyValue)
Parameters
- npc
The npc identifier. - PropertyName
The name of the property that has changed. - PropertyValue
The new property value.
Example
AddEvent("OnNPCNetworkUpdatePropertyValue", function(npcId, propertyName, propertyValue)
end)