Hello FacePunch community!
I have just a small thing that I wan't to code into my gamemode but I'm not sure how :c What I wan't to do is if the player has a certain SteamID then an image displays above there head. Such as if the SteamID is "U:1:149152185" then an image would appear above my head (the image would be custom)
Thanks for any help!
Myles
what do you really mean with "Custom"
As I said in another thread, google 'gmod' and then what you're looking for, as you will most likely be able to find what you're looking for quicker than someone can help you.
Use ply:SteamID() to check if the SteamID is the one you want. As for actually drawing the image, I think there's a few methods that could try such as render.DrawSprite and cam.Start3D2D
You would need to do one of the following:
cam.Start3D2D in HUDPaint, or using a Vector location and ToScreen ing it, and then drawing a Material / TexturedRect at the ToScreen( )'ed location.
You could also use a render hook such as PostPlayerDraw, etc..
Sorry, you need to Log In to post a reply to this thread.