Sending an entity server-to-client for positioning
π Soundβ’Updated 2 days agoβ’0 views
Server-to-client net doesn't guarantee the entity exists in the client realm (it may be outside PVS/rendering). Send it inside a ClientInitialized hook with netβ¦
Why doesn't the client receive a net message carrying an entity, and how to fix
Server-to-client net doesn't guarantee the entity exists in the client realm (it may be outside PVS/rendering). Send it inside a ClientInitialized hook with net.send(ply), and on the client use net.readEntity(callback) so the function runs once the entity is valid - or send the entity index and call entity(id) yourself.