Jump to content

Help me to create a hud


Recommended Posts

Its ok i can make a hud with this, but i still dont no how to make the another points system

Like i want to make a Money hud which is done, but i need the another system wich is the other way i think i need to do setElementData but i dont no :(

Can you explain how this points system work? how exactly players get the points and so on?

Link to comment
addCommandHandler('setmypoints', -- /setmypoints 255 
function (player,command,ponts) 
  
    if not (points) then -- If the points argument is missing then cancel the function. 
        return 
    end 
     
    setElementData(player,'points',tonumber(points)) -- The player get the amout of points which he wrote 
    outputChatBox('Ponts:'..points,player,255,0,0) 
end)  
       

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...