Jump to content

Search the Community

Showing results for tags 'painel corp'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Multi Theft Auto: San Andreas 1.x
    • Support for MTA:SA 1.x
    • User Guides
    • Open Source Contributors
    • Suggestions
    • Ban appeals
  • General MTA
    • News
    • Media
    • Site/Forum/Discord/Mantis/Wiki related
    • MTA Chat
    • Other languages
  • MTA Community
    • Scripting
    • Maps
    • Resources
    • Other Creations & GTA modding
    • Competitive gameplay
    • Servers
  • Other
    • General
    • Multi Theft Auto 0.5r2
    • Third party GTA mods
  • Archive
    • Archived Items
    • Trash

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Gang


Location


Occupation


Interests

Found 2 results

  1. eu sou novo no script,estou tentando fazer um painel Abrir Com acl "VIP" esse é o lado do client.Lua addEventHandler("onClientResourceStart", resourceRoot, function VIP() Painel = guiCreateWindow(258, 158, 484, 470, "Painel VIP", false) guiWindowSetSizable(Painel, false) PegarArmas = guiCreateButton(0.04, 0.16, 0.27, 0.11, "armas", true, Painel) guiSetFont(PegarArmas, "default-bold-small") guiSetProperty(PegarArmas, "NormalTextColour", "E947F9AB") pegarCarro = guiCreateButton(0.04, 0.39, 0.27, 0.12, "carro", true, Painel) guiSetFont(pegarCarro, "default-bold-small") guiSetProperty(pegarCarro, "NormalTextColour", "E947F9AB") PegarJetpack = guiCreateButton(0.05, 0.67, 0.27, 0.13, "jetpack", true, Painel) guiSetFont(PegarJetpack, "default-bold-small") guiSetProperty(PegarJetpack, "NormalTextColour", "E947F9AB") botaodestruir = guiCreateButton(0.38, 0.80, 0.30, 0.10, "destruir", true,Painel) guiSetFont(botaodestruir, "default-bold-small") guiSetProperty(botaodestruir, "NormalTextColour", "FF0AF468") addEventHandler("onClientGUIClick",PegarArmas,ClicarNoBotao) addEventHandler("onClientGUIClick",PegarJetpack,CliaBotao) addEventHandler("onClientGUIClick",pegarCarro,ClicaBotao) addEventHandler("onClientGUIClick",botaodestruir,CliaBot) end) addEvent ("mostratVIP", true) addEventHandler ("mostratVIP", getRootElement(), VIP) function cclose() if (source == ) then destroyElement (Painel) showCursor (false) end end addEventHandler("onClientGUIClick",getRootElement(), cclose) function ClicarNoBotao(button,state) if(button == "left")then triggerServerEvent("criarArmasEvento",localPlayer) end end function ClicaBotao(button,state) if(button == "left")then triggerServerEvent("criarCarroEvento",localPlayer) end end function CliaBotao(button,state) if(button == "left")then triggerServerEvent("criarJatEvento",localPlayer) end end function CliaBot(button,state) if(button == "left")then triggerServerEvent("DestroirEvento",localPlayer) end end
  2. [PT-BR] Paineis identicos, apenas com as function diferentes, dando interferencia, como arrumar ? os paineis são separados por acl, mas quando aperto a bind key, ele abre os dois, mas não tem permissão para acessar os recursos, mesmo assim atrapalha, por que todos os paineis das corporaçoes, são o mesmo, alterando apenas as function e o grupo de acl script:
×
×
  • Create New...