Dealman Posted April 24, 2013 Share Posted April 24, 2013 I've been trying to draw an image next to the player's nametag(for race) for a while now, but I can't get it to work. And I'm note entirely sure which would be the best/most efficient way to go about with this. So far, I've been working around with textlib.lua and nametags.lua inside the Race resource, and I've been able to change the fonts and whatnot, but I can't get an image drawn next to the name - as soon as I try to add something related to dx to the code, I seem to mess it up in one way or another. Would this be possible to achieve without modifying the race resource? The point of the script is to only draw an image for specific accounts, not everyone. I did some research about this but couldn't find anything that helped me get going, I know I have to fiddle around with dxDrawImage and GetScreenFromWorldPosition. If someone could give some pointers on how to go about with this, it would be greatly appreciated! Link to comment
denny199 Posted April 24, 2013 Share Posted April 24, 2013 When I started scripting a 3D image for my first time I used this: https://community.multitheftauto.com/in ... ils&id=342 I edited the resource and then imported it. 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