Jump to content

Looktovask

Members
  • Content Count

    21
  • Joined

  • Last visited

Community Reputation

1 Neutral

About Looktovask

Details

  • Location
    Brasil

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. hello, i created this script, but i dont know how i can make to show only the items the player have, and how to save and load the player item list, someone can help me? client.lua --[[ __ __ __ __ /\ \ /\ \ /\ \__ /\ \ \ \ \ ___ ___\ \ \/'\\ \ ,_\ ___ __ __ __ ____\ \ \/'\ \ \ \ __ / __`\ / __`\ \ , < \ \ \/ / __`\/\ \/\ \ /'__`\ /',__\\ \ , < \ \ \L\ \/\ \L\ \/\ \L\ \ \ \\`\\ \ \_/\ \L\ \ \ \_/ |/
  2. resolvi ja for i,v in ipairs(Items) do local Nome = Items[i][1] local row = guiGridListAddRow ( ListaInventario ) guiGridListSetItemText ( ListaInventario, row, 1, ""..tostring(Nome).."", false, false ) end
  3. Items = { {"Cachorro Quente"}, {"Pizza"}, {"Biscoitos"}, {"Marmitex"}, {"Agua Mineral"}, {"Refrigerante"}, {"Primeiros Socorros"}, } addEventHandler("onClientResourceStart", resourceRoot, function () JanelaInventario = guiCreateWindow(0.80, 0.56, 0.19, 0.42, "Inventario", true) guiWindowSetSizable(JanelaInventario, false) guiSetAlpha(JanelaInventario, 0.90) ListaInventario = guiCreateGridList(0.03, 0.07, 0.94, 0.79, true, JanelaInventario) guiGridListAddColumn(ListaInventario, "Items", 0.9) for i = 1, 23 do guiGridListAddRow
  4. Estou tentando desenvolver um sistema de inventario pela gui go mta mesmo estou com duvida de como passo os valores da tabela para o Grid --[[ __ __ __ __ /\ \ /\ \ /\ \__ /\ \ \ \ \ ___ ___\ \ \/'\\ \ ,_\ ___ __ __ __ ____\ \ \/'\ \ \ \ __ / __`\ / __`\ \ , < \ \ \/ / __`\/\ \/\ \ /'__`\ /',__\\ \ , < \ \ \L\ \/\ \L\ \/\ \L\ \ \ \\`\\ \ \_/\ \L\ \ \ \_/ |/\ \L\.\_/\__, `\\ \ \\`\ \ \____/\ \____/\ \
  5. http://nightly.mtasa.com/files/shaders/shader_tex_names.zip i cant download from this link, someone have the file? i need for get names of the blood splatter on hit
  6. triggerEvent("onChatIncome", player, "Message") worked fine, thank you
  7. addBubble( player, "Olá, deseja comprar esse imovel ?") this way? function onClientMarkerHit(player, mdim ) if player == getLocalPlayer() then if mdim then local veh = getPedOccupiedVehicle(player) local state = getElementData(player,"Консультант_работает") if getElementData(source,"Консультант_маркер_пациент") then if not veh then setElementFrozen(player,true) setPedAnimation(player,"GANGS","prtial_gngtlkC",8000,false,true,true,false) setElementData(player,"Конс
  8. *- v1.2.2: Added export function: outputMessage (server-side) . Syntax: outputMessage(element, message) . -element: the element who send the message . -message: the message that will be shown how i can use this? i tried this way: outputMessage(player, "mensagem") exports.bubblechat:outputMessage(player, "mensagem") the code is client sided
  9. boa noite amigos, estou com um problema que não estou conseguindo cancelar para o player não entrar numa bike trancada client: --[[ ---ACESSE: https://vikingsmodsmta.blogspot.com/ --]] local types = { ["Automobile"] = true, ["Bike"] = true, ["Plane"] = true, ["Helicopter"] = true, ["Boat"] = true, ["Train"] = true, ["Monster Truck"] = true, ["Quad"] = true } function playSounds(sounds, bool) if not bool then bool = false end if sounds == "ov" then beltSound = playSound("files/".. sounds ..".mp3", bool) else playSound("files/".. sounds ..".mp3", bool) end end f
  10. Marker_Aleatorios = -- ADICIONE AQUI OS LOCAIS QUE O JOGADOR DEVE PASSAR { {658.48792, -546.98334, 16.33594}, {-2124.44043, 208.22417, 35.22341}, {249.56505, 1420.55273, 10.56574}, {1427.32214, 708.58142, 10.82031}, -- AS MESMA POS DE CIMA PRA EVITAR SAIR O MESMO TODA HORA {658.48792, -546.98334, 16.33594}, {-2124.44043, 208.22417, 35.22341}, {249.56505, 1420.55273, 10.56574}, {1427.32214, 708.58142, 10.82031}, } Iniciar = createMarker ( -1867.4390869141,-1668.8072509766,21, "cylinder", 1.5, 16, 111, 231, 50) local BlipI = createBlipAttachedTo( Iniciar, 59 ) loca
  11. cara eu fico ate com vergonha, mas era esse o problema mesmo, muito obrigado
  12. bom dia amigos, estou tentando adicionar novos empregos neste script, porem se adicono mais de 1 serviço ele não abre mais o menu, alguem poredia me ajudar para eu entender onde precisa ser editado? --[[ /\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\/ Curta a Minha Página <3 https://www.facebook.com/danilinmtascr/ ::::::::: ::: :::: ::: ::::::::::: ::: ::::::::::: :::: :::
  13. resolvido, muito obrigado a todos script final function Pegar_Emprego (playerSource) local accName = getAccountName ( getPlayerAccount ( playerSource ) ) -- get his account name local Emprego = getElementData ( playerSource, "Emprego" ) if Emprego == "Uber" then aclGroupAddObject (aclGetGroup("UBER"), "user."..accName) outputChatBox ("Parabéns! Agora você está trabalhando de UBER!", playerSource, 0, 255, 0,true) end end addEvent("DNL:Pegar_Emprego", true) addEventHandler("DNL:Pegar_Emprego", root, Pegar_Emprego) function Sair_ACL (playerSource) lo
×
×
  • Create New...