Pivity

Make overhead Hud follow Players Movements

Last read Never
#1

Hi! I'm Making a Hud for my server and I'm wondering how I would go about making the 3d2d overhead Hud follow the players movement. So like if the player crouches, the overhead Hud would go down to that height as well


Thanks,

#2

One thing you could do, is position the text at the head-bone of the player, however you'd have to check if the players model has a head-bone before you do it, otherwise it would error for models that don't have one.

https://wiki.facepunch.com/gmod/Entity:GetBonePosition

Users viewing this thread
Nobody