Jump to content

Admin duty help.


Recommended Posts

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...