Jump to content

F11 label


denyk

Recommended Posts

 Hello im doing a label on bind to see it on map but it don't show me that label will you help me with that please? 

 

 

function init()
    loadstring(exports.dgs:dgsImportFunction())()
    label = dgsCreateLabel(...)
    dgsSetVisible(label, false)
    dgsCreateLabel(0.02,0.04,0.94,0.2,"Library",true,init)
end
addEventHandler("onClientResourceStart", resourceRoot, init)

function toggleGUI()
    dgsSetVisible(label, not dgsGetVisible(label))
end
bindKey("F11", "down", toggleGUI)

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