Share Variable (Server and Client)

So i want to share a variable between Server and Client.

On a Spawned Prop Hook


SetPropOwner(ent,ply)

and on shared


function SetPropOwner(ent,ply)
	ent.PropOwner = ply
end

What would be the best way to return the same result to client and server? (Set variable globally)
Client returns “”

Thanks

Network it with the net library

Nope, net lib can only send one Ent at a time.
Anyhow i uses SetNWEntity, thanks though