In my gamemode the players are spectating an entity.
I want to show the players name over an entity in 3D2D if the player is looking at another player’s entity.
So that means the name of the entity on clientside has to be the same as on serverside.
I am doing
ent.user = ply
ent.name = ent.user:Nick()
while I am spawning the Scripted Entity in GM:PlayerSpawn(ply)
Therefore, I can’t go shared to give server and client those informations at the same time.
I made a hook.
hook.Add(“PostDrawOpaqueRenderables”, “DrawNames”, function()
but I can’t show the name of the entity, because it’s not defined clientside.
Do I really need to do a net.Start()?
Somebody got a workaround for this?