Jump to content

Search the Community

Showing results for tags 'painel erro'.

  • 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


About Me


Member Title


Gang


Location


Occupation


Interests

Found 1 result

  1. Eu tava fazendo um painel que quando a pessoa clicava no botão tocava musica so que começou a bugar então resolvir pedir ajudar aqui ja que você se mt pro em programação Script: function showPanellr(thePlayer) accountname = getAccountName(getPlayerAccount(thePlayer)) if isObjectInACLGroup("user." .. accountname, aclGetGroup("surpresa")) then ---So Mude "PCC" Grupo que vai poder abrir o painel ! triggerClientEvent(thePlayer, "painelrota", getRootElement()) end end function onResStartlr() for index, player in ipairs(getElementsByType("player")) do bindKey(player, "k", "down", showPanellr)------"K" Botao Para Abrir O Painel end end addEventHandler("onResourceStart", getResourceRootElement(getThisResource()), onResStartlr) function onPlayerJoinlr() bindKey(source, "k", "down", showPanellr)------"K" Botao Para Abrir O Painel end addEventHandler("onPlayerJoin", getRootElement(), onPlayerJoinlr) function cleanAlllr(player) for index, player in ipairs(getElementsByType("player")) do unbindKey(player, "k", "down", showPanellr)------"K" Botao Para Abrir O Painel end end addEventHandler("onResourceStop", getResourceRootElement(getThisResource()), cleanAlllr) veh = {} function playTheSound() soundinside = playSound3D("natal.mp3", source, 255, 255, 255,true) setElementInterior(soundinside, 2) setElementDimension(soundinside, 5) setSoundVolume(soundinside, 1) setSoundMinDistance(soundinside, 17) setSoundMaxDistance(soundinside, 100) soundout = playSound3D("natal.mp3", source, 255, 255, 255,true) setSoundVolume(soundout, 1) setSoundMinDistance(soundout, 17) setSoundMaxDistance(soundout, 100) end Erro: WARNING: [managers]\PainelSurpresa\server.lua:3: Bad argument @ 'isObjectInACLGroup' [Expected acl-group at argument 2, got boolean]
×
×
  • Create New...