razvan2299 Posted July 18, 2014 Share Posted July 18, 2014 So I've added this code for my friend's RP server. The thing is that only the GM had an image under their nametag. I've put the adm_on in the right folder. This is what I've got and I wanna find out if it works... local isGM = getElementData(player,"account:gmduty") if isGM then dxDrawImage(sx-offset+xpos,oldsy,picxsize,picysize,"images/hud/gm.png") xpos = xpos + picxsize end local isAdmin = getElementData(player,"account:adminduty") if isAdmin then dxDrawImage(sx-offset+xpos,oldsy,picxsize,picysize,"images/hud/adm_on.png") xpos = xpos + picxsize end Link to comment
razvan2299 Posted July 18, 2014 Author Share Posted July 18, 2014 Someone help please!!! Link to comment
razvan2299 Posted July 18, 2014 Author Share Posted July 18, 2014 HUE HUE nobody's responding here Link to comment
Et-win Posted July 18, 2014 Share Posted July 18, 2014 Maybe be more specific what you want? .. Link to comment
razvan2299 Posted July 18, 2014 Author Share Posted July 18, 2014 OMG someone responds finally. So the code will have to show underneeth the nametag a img:http://postimg.org/image/l8vio9crl/; like GM's have http://postimg.org/image/51fb5tj0b/ . Thanks Link to comment
Et-win Posted July 18, 2014 Share Posted July 18, 2014 Why making 3 topics for this? You have got an answer from Tosfera already. https://forum.multitheftauto.com/viewtopic.php?f=91&t=77880 viewtopic.php?f=91&t=77879&p=713907#p713907 Logical why no one responses. Link to comment
razvan2299 Posted July 18, 2014 Author Share Posted July 18, 2014 This is why I made the third report. I can't continue Tosfera's script. So I tried to modify the GM one for admins.. Link to comment
Controlled Posted July 18, 2014 Share Posted July 18, 2014 Your asking people to make stuff for you. Your going to be ignored. Try it on your own, you were given examples how and shown how to move in the right direction. At least try to do it yourself. Link to comment
razvan2299 Posted July 18, 2014 Author Share Posted July 18, 2014 I did my own. I posted it on the top of the topic. I don't know if it's working. I don't either it's correctly writen. Link to comment
razvan2299 Posted July 19, 2014 Author Share Posted July 19, 2014 The code's not working . I don't know what to do anymore even a nice guy gave me a start for a code, but I didnt knew how to continue it..Any explination why it's not working? Link to comment
tosfera Posted July 19, 2014 Share Posted July 19, 2014 Is that 'friend' by any chance using a script/resource/package that has been leaked under the name; Valhalla Gaming? The way how the code is written looks like it ( rubbish and stupid ) and the image is the same. Link to comment
razvan2299 Posted July 19, 2014 Author Share Posted July 19, 2014 Hmm, well I don't know if he's using this Valhalla script. He gave me only a file and told me that file is all I need. Once I got in the server and it was looking like paradise roleplay. I'm not 100% sure. And when you said"friend", think you meant that it's me. Well, it's not. I don't have the knowledges to do a db for a rp server.. Link to comment
Controlled Posted July 20, 2014 Share Posted July 20, 2014 The code's not working . I don't know what to do anymore even a nice guy gave me a start for a code, but I didnt knew how to continue it..Any explination why it's not working? Whats the error. Link to comment
razvan2299 Posted July 20, 2014 Author Share Posted July 20, 2014 No error. The image under nametag doesnt appear.. Link to comment
Et-win Posted July 21, 2014 Share Posted July 21, 2014 Are you even sure the picture actually gets drawed? Put a outputChatBox in to be sure. If it does, someone else can help you, because I'm not having time to completely think about how to draw it under a player in the 3D world. 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