Jump to content

Barba Negra

Members
  • Posts

    6
  • Joined

Everything posted by Barba Negra

  1. vou fazer um sistema de drogas estava pensando em fazer quando o cara passar para pegar as drogas no marker o marker sumir e aparecer depois de algum tempo junto com a bolsa que eu vou colocar para aparecer que o cara tá pegando as drogas lá dentro queria saber como que faz para colocar esse tempo
  2. Sim ela ainda está no começo script eu não terminei ele depois de ter postado Topic eu percebi também esse bug aí das"(" mas eu não tinha certeza se era isso que tava bugando então quis deixar a pergunta aí ainda para saber se alguém respondesse
  3. tudo bem não me importo muito obrigado por ter comentado só queria mesmo ajuda para entender Qual que é o bug mesmo seguindo tutorial dele não percebi ainda qual que é o bug
  4. Não tem link para baixar script o link do canal do cara aí é uma live de 3 horas como é Live a imagem tá ruim não dá para enxergar direito então eu posso ter errado e não sei do que eu errei por causa que eu sou novato
  5. é um script de trabalho como painel tô tentando criar Sou novato no script lua não sei o que tá dando erro não posso dar muitas informações sobre isso porque sou muito Novato não vou mentir igual várias script fazem o programa não é meu Claro que eu tô criando ele do zero mas eu estou vendo um vídeo para fazer tentei arrumar olhando por dentro do jogo usando comando debugscript 3 mas não compreende o problema porque sou muito novato Como disse aí no começo vou postar a foto do problema e o script se puder me ajudar agradeço essa imagem do erro --- Esse é o script c.lua function CreateJob() StartMarker = createMarker ( 2126, -1788, 12.5, "cylinder", 1.5, 240, 140, 0, 255) end addEventHandler("onClientResourceStart", resourceRoot, CreateJob) function showListTojob(player, dim) if player and isElement(player) and getElementType(player) == "player" and dim then ShowPainelPizza() local x, y, z = getElementPosion(localPlayer) if getZoneName(x, y, z, true) == "Los Santos" then DefineItens("LS") elseif getZoneName(x, y, z, true) == "Los Venturas" then DefineItens("LV") elseif getZoneName(x, y, z, true) == "Los Fierro" then DefineItens("SF") end end end addEventHandler("onClientMarkerHit", resourceRoot, showListTojob) --- e esse daqui é o Gui.lua Win = guiCreateWindow(0.26, 0.28, 0.50, 0.48, "Seleção De Entrega São Paulo RP", true) guiWindowSetMovable(Win, false) guiWindowSetSizable(Win, false) guiSetAlpha(Win, 1.00) guiSetProperty(Win, "CaptionColour", "FF0000CC") guiSetVisible(Win, false) List = guiCreateGridList(0.01, 0.06, 0.97, 0.75, true, Win) guiGridListAddColumn(List, "ID", 0.07) guiGridListAddColumn(List, "Local", 0.5) guiGridListAddColumn(List, "Valor", 0.08) guiGridListAddColumn(List, "Horario", 0.3) Bt_Start = guiCreateButton(102, 310, 172, 46, "Aceitar", false, Win) guiSetFont(Bt_Start, "default-bold-small") guiSetProperty(Bt_Start, "NormalTextColour", "FF0026CA") Bt_Exit = guiCreateButton(411, 310, 172, 46, "Cancelar", false, Win) guiSetFont(Bt_Exit, "default-bold-small") guiSetProperty(Bt_Exit, "NormalTextColour", "FFCB0000") function ShowPainelPizza() guiSetVisible(Win, not guiGetVisible(Win)) showCursor(guiGetVisible(Win)) end function Click() if source == Bt_Exit then ShowPainelPizza() end end addEventHandler("onClientGUIClick", resourceRoot, Click) List_Itens = ( ["LS"] = ( [1] = ("Entrega 1", 200, 2000.146484375,-1115.544921875,27.131803512573 -1), [2] = ("Entrega 2", 100, 2244.3115234375,-1054.7958984375,52.569305419922 -1), [3] = ("Entrega 3", 200, 1803.6416015625,-1577.3876953125,13.421177864075), [4] = ("Entrega 4", 500, 552.7138671875,-1200.0556640625,44.831535339355), [5] = ("Entrega 5", 1000, 836.3583984375,-893.6337890625,68.768898010254), [6] = ("Entrega 6", 109, 2695.7744140625,-1992.921875,13.5546875), [7] = ("Entrega 7", 104, 2464.9248046875,-1997.7392578125,13.68886089325), [8] = ("Entrega 8", 50, 1849.619140625,-1922.72265625,13.546875), [9] = ("Entrega 9", 120, 1761.1123046875,-2124.44921875,14.056648254395), [10] = ("Entrega 10", 130, 1667.6533203125,-2107.9189453125,14.072273254395), [11] = ("Entrega 11", 550, 693.9052734375,-1705.87890625,3.8194825649261), [12] = ("Entrega 12", 600, 694.88671875,-1645.861328125,4.09375), ), ["LV"] = ( [1] = ("", ) [2] = ("", ) [3] = ("", ) [4] = ("", ) [5] = ("", ) [6] = ("", ) [7] = ("", ) [8] = ("", ) [9] = ("", ) [10] = ("", ) [11] = ("", ) [12] = ("", ) ), ["SF"] = ( [1] = ("", ) [2] = ("", ) [3] = ("", ) [4] = ("", ) [5] = ("", ) [6] = ("", ) [7] = ("", ) [8] = ("", ) [9] = ("", ) [10] = ("", ) [11] = ("", ) [12] = ("", ) ), ) function DefineItens(tipe) guiGridListClear(List) for i=1,12 do row = guiGriListAddRow(List) guiGridListSetItemText(List, row, 1, i, false, true) guiGridListSetItemText(List, row, 2, List_Itens(tipe)[i][1], false, false) guiGridListSetItemText(List, row, 3, List_Itens(tipe)[i][2].." $", false, false) end end
×
×
  • Create New...