Jump to content

Help me to create a hud


Recommended Posts

Posted

I don't know what this Z Point about, but you can do something like if you kill a Zombie / Player get +1 rep ,then save it in the player account or xml ,also you can use Mysql / sqlite functions in this situation

Posted
Yes i want to make a hud and a script which working similar like the money,

He gave you the functions which you need, it's on you to create it now.

Also there are many huds on the community, you can download and check them how they work.

Posted

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 :(

Posted
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?

Posted
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)  
       

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