Turbe$Z Posted April 21, 2017 Share Posted April 21, 2017 I want create a nametag script,but i don't know, how. How to place the dxdrawrectangle on my head? Link to comment
NeXuS™ Posted April 21, 2017 Share Posted April 21, 2017 You'll have to use the onClientRender event, and cycle through the players, get their position via getElementPosition, and get that position on your screen by getScreenFromWorldPosition, and you can use that x and y to draw anything on the screen. Link to comment
Bonsai Posted April 21, 2017 Share Posted April 21, 2017 The default race resource comes with a nametag script. So you can check how it works there and edit it. 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now