Jump to content

Search the Community

Showing results for tags 'brasil'.

  • 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

  1. Olá eu desativei o freeroam e play mais mesmo assim continua com a barrinha da vida e nome do player em cima da cabeça, e queria esta tirando essa duvida sé e por causa da atualização 1.6
  2. Acesse nosso site!! www.grandfm.com.br O Maior Fã Site do GTA MTA:SA! A Rádio que toca o seu sucesso! valeu pessoal colocar a rádio para tocar dentro do jogo é simples é só apertar f8 dentro do carro ou com a jbl e digitar /setradio e o endereço A Grand FM veio para mudar o modo em que você escuta rádio no seu GTA. Somos um Fã Site do "MTA:SA". Multi Teft Auto: San Andreas é um "MOD" que permite você jogar em servidores com carros brasileiros, etc. Você pode entrar no seu servidor favorito e colocar o setradio da Grand FM!!! Aperte "F8" ao entrar no servidor e cole isso: setradio https://server14.srvsh.com.br:7342/listen.pls (não precisa colocar barra no setradio se for pelo F8)
  3. Olá amigos. Tenho um painel de pegar veículos que utilizo o 'object preview' para não precisar utilizar imagens .png, mas não sei por qual motivo no meu caso os IDS das motocicletas não aparecem somente um ID (521) que aparece. Mas a uns dias atrás um amigo entrou no servidor e ele me transmitindo tela no discord os veículos nenhum apareciam nem as motocicletas. Utilizei o código de exemplo da wiki: https://wiki.multitheftauto.com/wiki/Resource:Object_preview e defini o ID das motocicletas e não funciona também, assim sendo eu tenho a certeza que o problema talvez não seja em meu código. Já utilizei também versões variadas do 'object preview' mas sem sucesso infelizmente. Já rodei a mta forum sobre o object_preview e não achei nada relacionado a esse problema então não sei oque realmente é, percebo que o pessoal utiliza muito o object_preview para mostrar skins em painéis e isso funciona super bem. Algumas imagens de como fica: https://im.ge/i/F68r8Y https://im.ge/i/F68FQD https://im.ge/i/F68OI4 -- Codigo do object preview no painel panel_vehic.changeDisplay = function(id, type) if type == "change" then carro = exports["[B]object_view"]:destroyObjectPreview(veiculo) if isElement(veiculo) then destroyElement(veiculo) end local pos = {getElementPosition(localPlayer)} veiculo = createVehicle(id, 500, 500, pos[3]) setVehicleColor(veiculo, 66, 135, 245) carro = exports["[B]object_view"]:createObjectPreview(veiculo, 3, 3, 0, x*410, y*310, x*214, y*214, false, true, true) exports["[B]object_view"]:setRotation(carro, -10, -10, 140) -- carro = exports["[B]object_view"]:setProjection(veiculo, projPosX, projPosY, projSizeX, projSizeY, true, true) -- TESTE elseif type == "delete" then carro = exports["[B]object_view"]:destroyObjectPreview(veiculo) if isElement(veiculo) then destroyElement(veiculo) end end end Fiz uma tabela para separar os veículos por pagina no painel...! panel_vehic = { config = { vehicles = { ["Carros"] = { {529}, {546}, {402}, {405}, {573}, }, ["Motos"] = { {468}, {586}, {461}, {463}, {521}, {522}, }, ["Importados"] = { {415}, {451}, {560}, {587}, {474}, {410}, {401}, {404}, }, }, }, }
  4. Oi, eu sou Cartman o Cachorro malo. Eu vou a preguntar a comunidade que falan a lingua portuguesa si vcs gostan de jogar solos o com amigos. É uma boa pregunta, obrigado.
  5. Eu tenho um pequeno problema, na hora de entrar no veículo depois de pegar o personagem, o veículo começa a voar, eu preciso de ajuda e se eu sou novo nesse Scripting. Preciso de sua ajuda. function AgarrarSoltar(source, target) local ID = getElementData(target , config['serverInfo']['id']) or 0 local rotpX = 90 local rotpY = 0 local rotpZ = getElementRotation(target) local rotvX,rotvY,rotvZ = getElementRotation(source) local rotX = rotpX - rotvX local rotY = rotpY - rotvY local rotZ = rotpZ - rotvZ local Agarrado = getElementData(target, "SS:Agarrado") or false if Agarrado == false then attachElementToElement(target, source, 0, 0.4 , 0.3 , rotX, rotY, rotZ) setElementData(target,"SS:Agarrado",true) setPedAnimation(source, "CARRY", "crry_prtial", 0, false, false, false, false) setPedAnimation(target, "ped", "CAR_dead_LHS", false, false) exports["CzInventory"]:sendNotification(source, "info", "Agarraste "..removeHex(getPlayerName(target)).." ["..(getElementData(target, config['serverInfo']['id']) or 0).."].") else detachElementFromElement(target, source, 0, 0.4 , 0.3 , rotX, rotY, rotZ) setElementData(target,"SS:Agarrado",false) setPedAnimation(target) exports["CzInventory"]:sendNotification(source, "info", "Soltaste"..removeHex(getPlayerName(target)).." ["..(getElementData(target, config['serverInfo']['id']) or 0).."].") end end addEvent ( "SS:Agarrar", true ) addEventHandler ( "SS:Agarrar", root, AgarrarSoltar)
  6. Não estou conseguindo colocar apenas para a ACL "Superior" conseguir mandar anuncio na tela com um Script que peguei na internet alguém ajuda?? Arquivos que contém dentro da pasta, todos os scripts fazem parte do mesmo mod, mas veem em arquivos .lua diferentes. SCR 1 addCommandHandler( global.Comando, function(playerSource, cmd, ...) local text = table.concat({...}, " ") if text then local namePlayer = getPlayerName(playerSource) triggerClientEvent(root, "KKZinho:AnunciarStaff", playerSource, namePlayer, text) end end) SCR 2 global = { ["Duracao"] = 3, -- Duração na tela em segundos. ["Comando"] = "anuncio", -- Comando utilizado. } SCR 3 local screenW,screenH = guiGetScreenSize() local resW,resH = 1366,768 local x,y = (screenW/resW), (screenH/resH) local font = dxCreateFont( "assets/font.ttf", 10 ) local pos_x = x*0 local pos_x2 = x*0 local pos_x3 = x*0 local painelAnuncio = false function drawDx() dxDrawImage(x*20, y*284, x*280, y*200, "assets/main.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawText(sendMessage, pos_x2, y*329, x*282, y*468, tocolor(255, 255, 255, 255), 1.00, font, "left", "top", false, true, false, false, false) dxDrawText("@"..nameSender.." #ffffffanunciou:", pos_x3, y*298, x*232, y*317, tocolor(255, 255, 255, 255), 1.00, font, "left", "top", false, true, false, true, false) end function animateDraw() local initialTime = getTickCount() local duration = 1500 function animateInitial() local currentTime = getTickCount() local passedTime = currentTime - initialTime if passedTime >= global.Duracao*1000 then removeEventHandler("onClientRender", root, animateInitial) removeEventHandler("onClientRender", root, drawDx) painelAnuncio = false end local progress = passedTime / duration pos_x = interpolateBetween(0, 0, 0, 20, 0, 0, progress, "OutElastic") pos_x2 = interpolateBetween(0, 0, 0, 33, 0, 0, progress, "OutElastic") pos_x3 = interpolateBetween(0, 0, 0, 89, 0, 0, progress, "OutElastic") setTimer( function() pos_x = interpolateBetween(20, 0, 0, 0, 0, 0, progress, "InElastic") pos_x2 = interpolateBetween(33, 0, 0, 0, 0, 0, progress, "InElastic") pos_x3 = interpolateBetween(89, 0, 0, 0, 0, 0, progress, "InElastic") end, global.Duracao*1000, 1) end if not painelAnuncio then addEventHandler("onClientRender", root, animateInitial) addEventHandler("onClientRender", root, drawDx) painelAnuncio = true end end function callAll(senderName, messageSend) if senderName then if messageSend then nameSender = senderName sendMessage = messageSend animateDraw() playSoundFrontEnd(4) end end end addEvent("KKZinho:AnunciarStaff", true) addEventHandler("KKZinho:AnunciarStaff", getRootElement(), callAll) meta <meta> <script src="KakaG.lua" type="shared"/> <script src="KakaC.lua" type="client"/> <script src="KakaS.lua" type="server"/> <file src="assets/main.png"/> <file src="assets/font.ttf"/> </meta>
  7. im selling a server of freeroam drift because im out of time and i dont have more time for MTA this server was online from 2013 to present has a comunity of brasil also there is website with system of content like VIP or Private car that people can buy with real money and system of clans working with the website. SERVER HAS: -- 35 drift tracks -- to many spots -- new tunning system added this 2022 with custom stickers or vinyls movement rotation and everything is there like photoshop -- new system of challenges with timer of best lap by following checkpoints -- custom wheels camber size wide colour of wheel (menu) -- custom motor sounds (can be enabled or disabled in F1) and /motor open a menu of which motor you want example 2JZ 1JZ -- radio system with link converted mp3 -- 25 modded cars -- 2 VIP cars with ACL VIP access + VIP System for players with VIP -- some custom skins -- custom tags above players -- custom TAB 3D scoreboard -- replay frames script (this means if you record 5 seconds moving with the vehicle and stop recording the replay will do what you recorded in that 5 seconds the car will move alone like a replay) -- custom camera command and another custom camera editor for recording videos -- there to many things i can't show all here well my preference is selling this server to someone who has comunity of portugual/brasil because almost all the server is in portuguese language and the comunity is brasil/portgual in case appears someone non portuguese he have to translate all the scripts by him self server still have activity depending of the day normally is 15-25 players If someone is interesed send me a private message or contact me in discord then we talk price there because is depending of where you from and if you want the website my discord is ITrickXzZ#6184
  8. Galera to fazendo um sistema de painel q vc digita no painel tipo 255, 0, 0 dentro de um carro e seta a cor vermelha no carro q e do rgb 255, 0, 0 e etc. mas da forma que achei que era possivel ao abrir o painel e digitar a cor em rgb eu fiz uma função que na teoria era pra pegar oq foi digitado na editbox e setar oq foi digitado na editbox como cor do carro usando setVehicleColor so q n aparece nada e n seta cor no carro mais se o carro ta vermelho e coloca tipo 255, 0, 0 na editbox e da ok a cor sempre muda pra preto espero q de para entender function SetarCor (playerSource, getMsg) --local mensagem = tonumber(getMsg) local uVehicle = getPedOccupiedVehicle( playerSource ) if isPedInVehicle( playerSource ) then if uVehicle then -- if mensagem == "Vermelho" then setVehicleColor( uVehicle, tonumber(getMsg)) end end --end end addEvent("SetarCor", true) addEventHandler("SetarCor", getRootElement(), SetarCor) PARTE DO CLIENT function rgbtrigger (button, state) if painel == true then if button == "left" and state == "down" then if isCursorOnElement(screenW * 0.6384, screenH * 0.5885, screenW * 0.7379, screenH * 0.6185) then local getMsg = tostring(getElementData(msgstaff, "CMT_Txt")) removeEventHandler("onClientRender", root, dx) triggerServerEvent("SetarCor", getLocalPlayer(), localPlayer, getMsg) painel = false showCursor(false) end end end end addEventHandler("onClientClick", root, rgbtrigger)
  9. Olá, Somos a MultHosting uma empresa de hospedagem de jogos, tais como, mta:sa, sa-mp, minecraft, bot discord, dentre outros, somos uma empresa a mais de 1 ano no mercado trazendo qualidade, preço baixo e um suporte de primeira aos nossos clientes, sempre prezamos em trazer o melhor desempenho ao seu servidor, manutenções de de 2 em 2 meses, temos técnicos 24 horas por dia monitorando as nossas maquinas e impedindo ataques ou perca de desempenho do seu serviço fora as diversas maneiras de suporte que possuímos. Tá esperando oque? Cupom para novos clientes: MULTHOSTING acesse: https://www.multhosting.com/mta e confira nossos planos Ping EUA ?? Ping BR ?? nosso discord: https://discord.gg/dEhtsPdG36
  10. Gostaria de saber como faço para o player ganhar dinheiro variável tipo ele entrega o caminhão e ganha 1000 na outra vez 500 algo assim pra não ficar a mesma coisa
  11. inimarker = createMarker(-2387.396, -594.046, 131.714, "cylinder", 1.5, 255, 0, 0, 100) finmarker = createMarker(-2532.308, -617.736, 131.562, "cylinder", 1.5, 255, 0, 0, 100) iniblip = createBlipAttachedTo(inimarker, 42) finblip = createBlipAttachedTo(finmarker, 0) setElementVisibleTo(finmarker, root, false) setElementVisibleTo(finblip, root, false) vehjob = {} function inicio(player) if vehjob[player] and isElement(vehjob[player]) then destroyElement(vehjob[player]) vehjob[player] = nil end vehjob[player] = createVehicle(459,-2403.141, -599.966, 132.648) outputChatBox("Entregue o veiculo do contrabando", player, 255, 255, 255, true) warpPedIntoVehicle(player, vehjob[player]) setElementVisibleTo(finblip, player, true) setElementVisibleTo(finmarker, player, true) end addEventHandler("onMarkerHit", inimarker, inicio) function fim(player) if vehjob[player] and isElement(vehjob[player]) then givePlayerMoney(player, 1000) destroyElement(vehjob[player]) setElementVisibleTo(finblip, player, false) setElementVisibleTo(finmarker, player, false) outputChatBox("Voce Finalizou o trabalho com sucesso e ganhou a recompensa", player, 255, 255, 255, true) end end addEventHandler("onMarkerHit", finmarker, fim) function cancelarjob(player) destroyElement(vehjob[player]) setElementVisibleTo(finblip, player, false) setElementVisibleTo(finmarker, player, false) outputChatBox("perdeu a carga", player, 255, 255, 255, true) end addCommandHandler("cancelar", cancelarjob) Na parte de Cancelarjob eu queria fazer que a pessoa sai do veiculo e ele cancela ja tentei com o addEventHandler("onClientVehicleExit", getRootElement(),cancelarjob) mas sempre da um erro tem como alguem me ajudar?
  12. Gostaria de aprender o .lua para fazer mods para o mta gostaria de fazer uns script mais comuns tipo inventario, celular e etc... e n sei como e tem varias pessoas vendendo curso de .lua para mta e n consigo confiar neles ent to aqui pra ver se alguem me ajuda me indica oq eu tenho q fazer oq tenho q estudar
  13. Minha musica do MTA esta parando sozinha, eu já desistalei o MTA e o GTA e mesmo assim continua bugada, eu entro em um server, coloco minha musica e ela toca so por uns 10 segundos e para sozinha, mais todos escutam menos eu, e tambem as musicas dos players param pra mim e todos ficam ouvindo menos eu. quero ajuda já fiz de tudo e não consigo resolver vou colocar um link de um video mostrando o que acontece comigo abaixo! https://www.youtube.com/watch?v=pXMstZtcpo8 é isso que acontece comigo, simplesmente o som para da radio pra mim, mais todos os outros players escutam menos eu.
  14. ╔══════════════════════════════════╗ ╠ Brasil Vida Roleplay ╠ Cidade -100MB ╠ Download Rápido & Compactado ╠ 5 Players CORP/GANG Free ╠══════════════════════════════════╗ ╠ Discord: https://discord.gg/KukWywvfYN ╠ IP Da Cidade: mtasa://135.148.6.199:23753 ╚══════════════════════════════════╝
  15. Olá pessoal tudo bem? sou script novo em LUA, mas sou antigo em HTML, JS e CSS. gostaria de saber como posso está fazendo uma proteção bem legal para meus scripts. Alguém poderia me ajudar?
  16. Ola pessoal, estou querendo desenvolver um sistema de empurrar um carro que esteja acabado a gasolina ou esta quebrado, para poder fazer um rp maneiro. Mas infelizmente n sei por onde começar vocês podem me dar uma ideia dos comandos para ser usados? desde ja agradeço muito.
  17. Olá estou com problemas em meu emprego, todo mundo mesmo quem não está atrabalhando neste emprego consegue spawnar o veiculo do trabalho apenas indo até o marker, tentei por uma proteção que faça com quem tem a skin do emprego consiga pegar o carro e o destruir. porém nenhum resultado se conseguirem me ajudar agraçederia muito. local marker = createMarker(2681.17285, -1957.08862, 12.7, "cylinder", 1.0, 0, 0, 255, 255) local Dmarker = createMarker(2679.63989, -1968.49829, 12.5, "cylinder", 3.0, 255, 0, 0, 100) function enterVehicle ( player, seat, jacked ) --quando um jogador entra em um veículo policeLimpador = { [552]=true} --ID Veiculos Policiais policeLimpadorSkins = { [27]=true } --ID Skins Policiais if ( policeLimpador[getElementModel(source)] ) and ( not policeLimpadorSkins[getElementModel(player)] ) then --se o veículo é um dos 4 carros da polícia, ea pele não é uma pele polícia cancelEvent() outputChatBox ( "#ff0000Somente Motoristas podem entrar neste veiculo", player, 255, 255, 255, true ) --and tell the player why end end addEventHandler ( "onVehicleStartEnter", getRootElement(), enterVehicle ) --add an event handler for onVehicleStartEnter function Vehicle( thePlayer ) if getElementType(thePlayer) == "player" then local x,y,z = getElementPosition(thePlayer) veh = createVehicle(552, 2687.59, -1970.002, 13.547, -0, 0, 266.348 ) warpPedIntoVehicle(thePlayer, veh) end end addEventHandler("onMarkerHit", marker, enterVehicle) function destroy (hitElement) if getElementType(hitElement) == "Vehicle" then destroyElement(hitElement) end end addEventHandler("onMarkerHit", Dmarker, destroy)
  18. Olá, queria saber como eu posso colocar um limite de 1 veículo para o meu marker no script, o script vai ser um trabalho, ele já cria o veículo e teleporta o jogador até ele, mas é possível sair do veículo e criar outro e daí ele não destrói o veículo anterior. Se alguém puder me ajudar, obrigado. Já consegui resolver!
  19. O Erro É Na Linha 284, No debugscript 3 aparece como bad argument #1 to 'gsub' (string expected, got boolean) function penz_darabolas(amount) local formatted = amount while true do formatted, k = string.gsub(formatted, "^(-?%d+)(%d%d%d)", '%1 %2') if (k==0) then break end end return formatted end
  20. victor003

    network trouble

    ola! sou um dos jogadores do mta, e venho relatar um problema que vem acontecendo quando entro em um servidor. onde ao entrar jogo tranquilamente e depois de um tempo recebo network trouble, que vem sendo constantemente e queria ajuda pra como resolver. a imagem abaixo não sou eu, apenas um exemplo do que acontece.(onde depois disso o servidor cai)
  21. atempt to concatenate a boolean value ---------aparece isso -- Config do Chat Local addEventHandler("onPlayerChat", root, function(tresc, msgtype) if (msgtype == 0) then cancelEvent() local x,y,z = getElementPosition(source) for key, gracze in ipairs(getElementsByType("player")) do local x2,y2,z2 = getElementPosition(gracze) -- if getElementData (source, "ChatLocal:Delay", true) then -- outputChatBox ( MensagemFalandoRapidoDemaisLocal, source, 255, 255, 255, true ) return end if ( getDistanceBetweenPoints3D ( x, y, z, x2, y2, z2 ) < DistanciaDoChatLocal ) then local int = getElementInterior ( source ) local dim = getElementDimension ( source ) local int2 = getElementInterior ( gracze ) local dim2 = getElementDimension ( gracze ) if ( int == int2 and dim == dim2 ) then conta = getAccountName ( getPlayerAccount ( source ) ) if isObjectInACLGroup ("user."..conta, aclGetGroup ( "Console" ) ) then outputChatBox("#ffffff[ #FFEE00Local #ffffff] ["..getElementData(source, "ID").."] #00FF00● #00ff8cPresidente #00FF00● #00ff8c"..getPlayerName(source).. "#00FA9A » :#ffffff "..tresc, gracze, 255, 255, 255, true) elseif isObjectInACLGroup ("user."..conta, aclGetGroup ( "Admin" ) ) then outputChatBox("#ffffff[ #FFEE00Local #ffffff] ["..getElementData(source, "ID").."] #00FF00● #ff6600Vice Presidente #00FF00● #ff6600"..getPlayerName(source).."#A914F9 » :#ffffff "..tresc, gracze, 255, 255, 255, true) elseif isObjectInACLGroup ("user."..conta, aclGetGroup ( "Humanos" ) ) then outputChatBox("#ffffff[ #FFEE00Local #ffffff] ["..getElementData(source, "ID").."] #00FF00● #00ffedAdm Corp/Gang #00FF00● #00ffed"..getPlayerName(source).."#A914F9 » :#ffffff "..tresc, gracze, 255, 255, 255, true) elseif isObjectInACLGroup ("user."..conta, aclGetGroup ( "SuperModerator" ) ) then outputChatBox("#ffffff[ #FFEE00Local #ffffff] ["..getElementData(source, "ID").."] #00FF00● #00ffedDeputado Estadual #00FF00● #00ffed"..getPlayerName(source).."#A914F9 » :#ffffff "..tresc, gracze, 255, 255, 255, true) elseif isObjectInACLGroup ("user."..conta, aclGetGroup ( "Moderator" ) ) then outputChatBox("#ffffff[ #FFEE00Local #ffffff] ["..getElementData(source, "ID").."] #00FF00● #00ffed Vereador #00FF00● #00ffed"..getPlayerName(source).."#ffffff » :#ffffff "..tresc, gracze, 255, 255, 255, true) elseif isObjectInACLGroup ("user."..conta, aclGetGroup ( "BOPE" ) ) then outputChatBox("#ffffff[ #FFEE00Local #ffffff] ["..getElementData(source, "ID").."] #00FF00● #000000 BOPE #00FF00● #000000"..getPlayerName(source).."#ffffff » :#ffffff ".. tresc, gracze, 255, 255, 255, true) elseif isObjectInACLGroup ("user."..conta, aclGetGroup ( "CHOQUE" ) ) then outputChatBox("#ffffff[ #FFEE00Local #ffffff] ["..getElementData(source, "ID").."] #00FF00● #635f5f C O E #00FF00● #635f5f"..getPlayerName(source).."#ffffff » :#ffffff ".. tresc, gracze, 255, 255, 255, true) elseif isObjectInACLGroup ("user."..conta, aclGetGroup ( "COE" ) ) then outputChatBox("#ffffff[ #FFEE00Local #ffffff] ["..getElementData(source, "ID").."] #00FF00● #228B22 #00FF00● #228B22"..getPlayerName(source).."#ffffff » :#ffffff ".. tresc, gracze, 255, 255, 255, true) elseif isObjectInACLGroup ("user."..conta, aclGetGroup ( "ROTA" ) ) then outputChatBox("#ffffff[ #FFEE00Local #ffffff] ["..getElementData(source, "ID").."] #00FF00● #838B83 ROTA #00FF00● #838B83"..getPlayerName(source).."#ffffff » :#ffffff ".. tresc, gracze, 255, 255, 255, true) elseif isObjectInACLGroup ("user."..conta, aclGetGroup ( "BAEP" ) ) then outputChatBox("#ffffff[ #FFEE00Local #ffffff] ["..getElementData(source, "ID").."] #00FF00● #838B83 BAEP #00FF00● #838B83"..getPlayerName(source).."#ffffff » :#ffffff ".. tresc, gracze, 255, 255, 255, true) elseif isObjectInACLGroup ("user."..conta, aclGetGroup ( "PF" ) ) then outputChatBox("#ffffff[ #FFEE00Local #ffffff] ["..getElementData(source, "ID").."] #00FF00● #E47833 Policia Federal #00FF00● #E47833"..getPlayerName(source).."#ffffff » :#ffffff ".. tresc, gracze, 255, 255, 255, true) elseif isObjectInACLGroup ("user."..conta, aclGetGroup ( "PETO" ) ) then outputChatBox("#ffffff[ #FFEE00Local #ffffff] ["..getElementData(source, "ID").."] #00FF00● #000000 PETO #00FF00● #000000"..getPlayerName(source).."#ffffff » :#ffffff ".. tresc, gracze, 255, 255, 255, true) elseif isObjectInACLGroup ("user."..conta, aclGetGroup ( "ROCAM" ) ) then outputChatBox("#ffffff[ #FFEE00Local #ffffff] ["..getElementData(source, "ID").."] #00FF00● #Ff0000 ROCAM #00FF00● #Ff0000"..getPlayerName(source).."#ffffff » :#ffffff ".. tresc, gracze, 255, 255, 255, true) elseif isObjectInACLGroup ("user."..conta, aclGetGroup ( "CBV" ) ) then outputChatBox("#ffffff[ #FFEE00Local #ffffff] ["..getElementData(source, "ID").."] #00FF00● #Ff0000 Comando Bala Voa #00FF00● #Ff0000"..getPlayerName(source).."#ffffff » :#ffffff "..tresc, gracze, 255, 255, 255, true) elseif isObjectInACLGroup ("user."..conta, aclGetGroup ( "CV" ) ) then outputChatBox("#ffffff[ #FFEE00Local #ffffff] ["..getElementData(source, "ID").."] #00FF00● #Ff0000 Comando Vermelho #00FF00● #Ff0000"..getPlayerName(source).."#ffffff » :#ffffff "..tresc, gracze, 255, 255, 255, true) elseif isObjectInACLGroup ("user."..conta, aclGetGroup ( "TCP" ) ) then outputChatBox("#ffffff[ #FFEE00Local #ffffff] ["..getElementData(source, "ID").."] #00FF00● #FFFF00Terceiro Comando Puro #00FF00● #FFFF00"..getPlayerName(source).."#ffffff » :#ffffff "..tresc, gracze, 255, 255, 255, true) elseif isObjectInACLGroup ("user."..conta, aclGetGroup ( "ANS" ) ) then outputChatBox("#ffffff[ #FFEE00Local #ffffff] ["..getElementData(source, "ID").."] #00FF00● #000000 Anonymous #00FF00● #000000"..getPlayerName(source).."#ffffff » :#ffffff "..tresc, gracze, 255, 255, 255, true) elseif isObjectInACLGroup ("user."..conta, aclGetGroup ( "OG" ) ) then outputChatBox("#ffffff[ #FFEE00Local #ffffff] ["..getElementData(source, "ID").."] #00FF00● #8A2BE2 Os Guri #00FF00● #8A2BE2"..getPlayerName(source).."#ffffff » :#ffffff "..tresc, gracze, 255, 255, 255, true) elseif isObjectInACLGroup ("user."..conta, aclGetGroup ( "Designer" ) ) then outputChatBox("#ffffff[ #FFEE00Local #ffffff] ["..getElementData(source, "ID").."] #0000FF● Designer ● #FFFFFF"..getPlayerName(source).."#ffffff » :#ffffff "..tresc, gracze, 255, 255, 255, true) elseif isObjectInACLGroup ("user."..conta, aclGetGroup ( "Moderador" ) ) then outputChatBox("#ffffff[ #FFEE00Local #ffffff] ["..getElementData(source, "ID").."] #FFFFFF● Vereador ● #FFFFFF"..getPlayerName(source).."#ffffff » :#ffffff "..tresc, gracze, 255, 255, 255, true) ---------------------------------------------------------------------------------------- elseif isObjectInACLGroup ("user."..conta, aclGetGroup ( "Omega" ) ) then outputChatBox("#ffffff[ #FFEE00Local #ffffff] ["..getElementData(source, "ID").."] #00FF00● #00FF00 VIP OMEGA #00FF00● #00FF00"..getPlayerName(source).."#ffffff » :#ffffff ".. tresc, gracze, 255, 255, 255, true) elseif isObjectInACLGroup ("user."..conta, aclGetGroup ( "Sigma" ) ) then outputChatBox("#ffffff[ #FFEE00Local #ffffff] ["..getElementData(source, "ID").."] #00FF00● #00FF00 VIP SIGMA #00FF00● #00FF00"..getPlayerName(source).."#ffffff » :#ffffff ".. tresc, gracze, 255, 255, 255, true) elseif isObjectInACLGroup ("user."..conta, aclGetGroup ( "Epsylon" ) ) then outputChatBox("#ffffff[ #FFEE00Local #ffffff] ["..getElementData(source, "ID").."] #00FF00● #00FF00 VIP EPSYLON #00FF00● #00FF00"..getPlayerName(source).."#ffffff » :#ffffff ".. tresc, gracze, 255, 255, 255, true) elseif isObjectInACLGroup ("user."..conta, aclGetGroup ( "Alpha" ) ) then outputChatBox("#ffffff[ #FFEE00Local #ffffff] ["..getElementData(source, "ID").."] #00FF00● #00FF00 VIP ALPHA #00FF00● #00FF00"..getPlayerName(source).."#ffffff » :#ffffff ".. tresc, gracze, 255, 255, 255, true) ---------------------------------------------------------------------------------------- elseif isObjectInACLGroup ("user."..conta, aclGetGroup ( "VIP" ) ) then outputChatBox("#ffffff[ #FFEE00Local #ffffff] ["..getElementData(source, "ID").."] #00FF00● #00FF00 VIP #00FF00● #00FF00"..getPlayerName(source).."#ffffff » :#ffffff ".. tresc, gracze, 255, 255, 255, true) elseif isObjectInACLGroup ("user."..conta, aclGetGroup ( "UBER" ) ) then outputChatBox("#ffffff[ #FFEE00Local #ffffff] ["..getElementData(source, "ID").."] #00FF00● #838B83 UBER #00FF00● #838B83"..getPlayerName(source).."#ffffff » :#ffffff ".. tresc, gracze, 255, 255, 255, true) elseif isObjectInACLGroup ("user."..conta, aclGetGroup ( "Mecanico" ) ) then outputChatBox("#ffffff[ #FFEE00Local #ffffff] ["..getElementData(source, "ID").."] #00FF00● #228B22 Mecanico #00FF00● #228B22".. getPlayerName(source).."#ffffff » :#ffffff ".. tresc, gracze, 255, 255, 255, true) elseif isObjectInACLGroup ("user."..conta, aclGetGroup ( "SAMU" ) ) then outputChatBox("#ffffff[ #FFEE00Local #ffffff] ["..getElementData(source, "ID").."] #00FF00● #Ff0000 SAMU #00FF00● #Ff0000"..getPlayerName(source).."#ffffff » :#ffffff ".. tresc, gracze, 255, 255, 255, true) elseif isObjectInACLGroup ("user."..conta, aclGetGroup ( "GIRL" ) ) then outputChatBox("#ffffff[ #FFEE00Local #ffffff] ["..getElementData(source, "ID").."] #00FF00● #FF00F6 Garotas De Programa #00FF00● #FF00F6"..getPlayerName(source).."#ffffff » :#ffffff ".. tresc, gracze, 255, 255, 255, true) elseif isObjectInACLGroup ("user."..conta, aclGetGroup ( "Ajudante" ) ) then outputChatBox("#ffffff[ #FFEE00Local #ffffff] ["..getElementData(source, "ID").."] #00FF00● #FFEE00 Ajudante #00FF00● #FFEE00"..getPlayerName(source).."#ffffff » :#ffffff ".. tresc, gracze, 255, 255, 255, true) elseif isObjectInACLGroup ("user."..conta, aclGetGroup ( "Everyone" ) ) then outputChatBox("#ffffff[ #FFEE00Local #ffffff] ["..getElementData(source, "ID").."] #00FF00● #05FF00 Cidadão #00FF00● #05FF00"..getPlayerName(source).."#ffffff » :#FFFFFF "..tresc, gracze, 255, 255, 255, true) end end end end end -- setElementData (source, "ChatLocal:Delay",true) --setTimer (setElementData, 2000, 1, source, "ChatLocal:Delay", false) end)
  22. Nome: BRASIL VIDA DIFERENCIADA | FREEROAM [ POLICIAIS - GANGS - DRIFT - MODO PASSIVO] Gamemode: PLAY IP: mtasa://104.41.39.179:22513 (Host BR - Ping 25-50) Discord: discord.gg/UFxKvuZ Página: https://facebook.com/bvdmta/ Vagas: Crie sua Gang (7 players) ou Corporação Policial (12 players)
  23. Olá pessoal, boa tarde! Faz tempo que tenho um conhecimento relativamente avançado em Lua e MTA Scripting, porém não sabia absolutamente NADA em relação á banco de dados SQLite. Há pouco tempo atrás aprendi sobre, porém preciso de ajuda com o seguinte problema: » Preciso salvar no banco de dados, a cada vez que um comando é efetuado, salvar +1 número na célula da coluna... Deu pra entender? Tipo assim: Carro Estoque Camaro 1 Quando eu efetuar o comando: Carro Estoque Camaro 1 +1 *eu preciso pegar o valor existente na coluna e somar 1, porém estou com problemas para fazer haha *Não postei meu código pois simplesmente não consegui fazer um... hahah
  24. Preciso de ajuda! Modelos de SetVehicleHandling na Wiki, mas não sei usa-los! Já coloquei como script normal, como manager, como resource ... Nada funciona. Alguém pode me ajudar ??
×
×
  • Create New...