I want to be networking the health of an entity to its owner for information purposes. As it is health, it is often changing. The highest the values would go is probably 10000. What is the most efficient way to do this, just a net.WriteInt(16) to that specific client?
Entity.Health can be used both serverside and clientside, no need to network it.
If using ent:GetHealth() and ENT:Health() aren’t options then the most optimized way would be to net message them over whenever you need to. If you need to send it over a lot then you’ll probably want to use NWVariables. For now until they are out of beta I recommend ent:Set/GetNW2Int()