Jump to content

Domanda


Recommended Posts

Posted

Io ho un'userpanel che ho aggiunto all'acl ma alcune cose non me le fa vedere solo ai moderatori e agli admin e possibile che dipenda dal fatto che l'ho messo nell'acl? Perchè agli user normali non gli fa vedere alcune cose..

Posted

Quindi? Cosa vuoi fare?

Vuoi che tutti usino quella funzione?

Ti sei chiesto perche puma l ha fatto solo per i moderatori?

Posted
No hunter quello che voglio io puma non l'ha messo è un'altra cosa..

e cmq si voglio che quel tab lo vedano tutti ma non so come fare..

Togli l accesso :/

Senza codice come faccio ad aiutarti :D

Posted

questo è il code

-- TAB 7 - Customization 
    -- TAB 7 - Lights 
    guiCreateLabel(0.05, 0.05, 0.10, 0.05, "Lights:", true, Tab[7]) 
    lightsComboBox = guiCreateComboBox (0.05, 0.1, 0.4, 0.5, "Default", true, Tab[7]) 
    drawlightsCheckBox = guiCreateCheckBox (0.05, 0.15, 0.25, 0.05, "Enable lights", true, true, Tab[7]) 
    guiCreateLabel(0.05, 0.2, 0.25, 0.05, "Preview:", true, Tab[7]) 
    previewStaticImage = guiCreateStaticImage (0.05, 0.25, 0.35, 0.35, "lights/"..currentLight..".jpg", true, Tab[7]) 
    saveChangesButton = guiCreateButton (0.05, 0.85, 0.25, 0.07, "Save Lights", true, Tab[7]) 
    for i,light in ipairs (lights) do 
        local id = guiComboBoxAddItem (lightsComboBox,light) 
        if light == currentLight then 
            guiComboBoxSetSelected(lightsComboBox,id) 
        end 
    end 
    addEventHandler("onClientGUIComboBoxAccepted",lightsComboBox,changeLights) 
    addEventHandler("onClientGUIClick",saveChangesButton,saveChanges,false) 
    -- TAB 7 - Infernus 
    guiCreateLabel(0.5, 0.05, 0.10, 0.05, "Infernus:", true, Tab[7]) 
    infernusComboBox = guiCreateComboBox (0.5, 0.1, 0.4, 0.5, "Default", true, Tab[7]) 
    enableInfernusCheckBox = guiCreateCheckBox (0.5, 0.15, 0.25, 0.05, "Enable infernus", true, true, Tab[7]) 
    guiCreateLabel(0.5, 0.2, 0.25, 0.05, "Preview:", true, Tab[7]) 
    previewInfernusImage = guiCreateStaticImage (0.5, 0.25, 0.45, 0.35, "infernus/0/screen.png", true, Tab[7]) 
    saveInfernusButton = guiCreateButton (0.5, 0.85, 0.25, 0.07, "Save Infernus", true, Tab[7]) 
    for i,infernus in ipairs (infernus) do 
        local infernusid = guiComboBoxAddItem(infernusComboBox,infernus) 
    end 
    guiComboBoxSetSelected(infernusComboBox,0) 
    addEventHandler("onClientGUIComboBoxAccepted",infernusComboBox,changeInfernus) 
    addEventHandler("onClientGUIClick",saveInfernusButton,saveInfernus,false) 
  

Ecco ho anche un'altro tab se riusciamo a capire cosa non và qui lo facciamo anche per l'altro xò non vedo niente di "ADMIN"

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