Jump to content

migsfiveM

Members
  • Posts

    10
  • Joined

  • Last visited

About migsfiveM

  • Birthday 16/05/1999

Recent Profile Visitors

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

migsfiveM's Achievements

Square

Square (6/54)

0

Reputation

  1. opa pessoal, recentemente baixei uma custom na internet, ela funciona normalmente, porém ela tem 2 lojas, 1 loja de roupa normal e 1 loja de acessórios (relógio, corrente e etc) quando eu vou nessa loja de acessório para comprar um chapeu, eu compro o chapeu normalmene, porém gasta o dinheiro e o chapeu não aparece no personagem da custom, fui no debugscript e percebi que quando eu efetuava essa ação, aparecia um erro, no caso e esse: ERROR: [FANTASY]CharacterCustomization/sources/shared/serverConfig.lua:2: exports: Call to non-running server resource (fipi_inventory) [string "?"] ALGUÉM SABE COMO QUE RESOLVE ESSE ERRO?
  2. opa pessoal, boa tarde, recentemente baixei um sistema de drogas, com vendas para outros players, para escolher qual droga você quer vender para o player, vai ter um marker, que quando o player passa por cima, ele abre essa tabela: até ai tudo bem, porém, isso tudo e somente em um único marker, o que eu gostaria de fazer seria o seguinte:, por cada droga dessa em uma favela, no caso, colocar 1 marker com 1 droga apenas, e não 1 marker com todas as drogas. isso seria possível? vou estar colocando a linha de comando do script ai abaixo: ESSE E O CLIENT.LUA ESSE E O CONFIG.LUA drogas = { --- Nome da droga || preço || efeito --- Caso for mudar a droga, os efeitos só vão até 5 {"Maconha", 12, "efeito1"}, {"Lança", 11, "efeito2"}, {"Cocaína", 10, "efeito3"}, {"Heroína", 10, "efeito4"}, {"Crack", 10, "efeito5"}, } maxDrug = 10 cmdSold = "vender" visible = 4 -- quantidade de linhas que a tabela irá ter no painel ESSE E O SERVER.LUA
  3. opa pessoal, boa tarde, baixei um spawn de armas por acl, porém eu criei um 2°, nesse 2° eu gostaria que ele removesse as armas pegues anteriores, e setasse SOMENTE! as armas que eu colocar, alguém sabe se isso e possível?, vou deixar a linha de comando desse spawn de armas por acl, para vocês verem se será possível. ESSE ABAIXO E O 1° SPAWN DE ARMAS QUE EU CRIEI, NO CASO QUE EU QUERIA QUE REMOVESSE ESSAS ARMAS PARA PEGAR O DO 2° SPAWN Grupo = "BOPE" Pegar_Armas = createPickup ( -81.466, -1191.519, 7.655, 3, 1252, 1 ) function Entrar_Pickup ( pickup ) if pickup == Pegar_Armas then cancelEvent ( ) if isObjectInACLGroup ("user."..getAccountName ( getPlayerAccount ( source ) ), aclGetGroup ( Grupo ) ) then giveWeapon ( source, 22, 999 ) -- Pistola giveWeapon ( source, 31, 999 ) -- Sla giveWeapon ( source, 29, 999 ) -- AK setPedArmor ( source, 100 ) setElementHealth ( source, 100 ) end end end addEventHandler ( "onPlayerPickupHit", getRootElement ( ), Entrar_Pickup ) function Mensagem_HypeSCR ( Jogador, Texto, Tipo ) exports.Hype_MensagemDX:outputDx ( Jogador, Texto, Tipo ) end ======================================================================================================================== ESSE ABAIXO E O 2° SPAWN DE ARMAS QUE EU CRIEI, NO CASO O QUE EU GOSTARIA QUE FICASSE SOMENTE COM AS ARMAS INFORMADAS NO GIVEWEAPON. Grupo = "BOPE" Pegar_Armas = createPickup ( -78.96, -1184.235, 7.655, 3, 1252, 1 ) function Entrar_Pickup ( pickup ) if pickup == Pegar_Armas then cancelEvent ( ) if isObjectInACLGroup ("user."..getAccountName ( getPlayerAccount ( source ) ), aclGetGroup ( Grupo ) ) then giveWeapon ( source, 4, 1 ) -- Faca giveWeapon ( source, 23, 999 ) -- Silenced giveWeapon ( source, 34, 800 ) -- Sniper setPedArmor ( source, 100 ) setElementHealth ( source, 100 ) end end end addEventHandler ( "onPlayerPickupHit", getRootElement ( ), Entrar_Pickup ) function Mensagem_HypeSCR ( Jogador, Texto, Tipo ) exports.Hype_MensagemDX:outputDx ( Jogador, Texto, Tipo ) end
  4. opa pessoal, bom dia, gostaria de saber como que faço para estar removendo colete, peguei um painel de policial paisana na internet, onde ele dar um armamento e um colete, porém, eu gostaria de fazer com que ele retirasse o colete, e, não dar, alguem sabe como faz?, vou estar escrevendo as linhas de comandos do painel. ===CLIENT=== local screenW, screenH = guiGetScreenSize() painelpol = false function pmpcdx() -------------- dxDrawLine((screenW * 0.0900) - 1, (screenH * 0.3477) - 1, (screenW * 0.0900) - 1, screenH * 0.5833, tocolor(0, 0, 0, 255), 1, false) dxDrawLine(screenW * 0.2057, (screenH * 0.3477) - 1, (screenW * 0.0900) - 1, (screenH * 0.3477) - 1, tocolor(0, 0, 0, 255), 1, false) dxDrawLine((screenW * 0.0900) - 1, screenH * 0.5833, screenW * 0.2057, screenH * 0.5833, tocolor(0, 0, 0, 255), 1, false) dxDrawLine(screenW * 0.2057, screenH * 0.5833, screenW * 0.2057, (screenH * 0.3477) - 1, tocolor(0, 0, 0, 255), 1, false) dxDrawRectangle(screenW * 0.0900, screenH * 0.3477, screenW * 0.1157, screenH * 0.2357, tocolor(0, 0, 118, 114), false) dxDrawLine((screenW * 0.0900) - 1, (screenH * 0.3086) - 1, (screenW * 0.0900) - 1, screenH * 0.3477, tocolor(0, 0, 0, 255), 1, false) dxDrawLine(screenW * 0.2057, (screenH * 0.3086) - 1, (screenW * 0.0900) - 1, (screenH * 0.3086) - 1, tocolor(0, 0, 0, 255), 1, false) dxDrawLine((screenW * 0.0900) - 1, screenH * 0.3477, screenW * 0.2057, screenH * 0.3477, tocolor(0, 0, 0, 255), 1, false) dxDrawLine(screenW * 0.2057, screenH * 0.3477, screenW * 0.2057, (screenH * 0.3086) - 1, tocolor(0, 0, 0, 255), 1, false) dxDrawRectangle(screenW * 0.0900, screenH * 0.3086, screenW * 0.1157, screenH * 0.0391, tocolor(72, 61, 139, 255), false) dxDrawRectangle(screenW * 0.0900, screenH * 0.5443, screenW * 0.1157, screenH * 0.0391, tocolor(0, 0, 0, 194), false) dxDrawRectangle(screenW * 0.0981, screenH * 0.3737, screenW * 0.1003, screenH * 0.0299, tocolor(0, 0, 0, 173), false) dxDrawRectangle(screenW * 0.0981, screenH * 0.4388, screenW * 0.1003, screenH * 0.0299, tocolor(0, 0, 0, 173), false) dxDrawRectangle(screenW * 0.0981, screenH * 0.5013, screenW * 0.1003, screenH * 0.0299, tocolor(0, 0, 0, 173), false) dxDrawText("Painel", screenW * 0.0900, screenH * 0.3086, screenW * 0.2057, screenH * 0.3477, tocolor(255, 255, 255, 255), 1.00, "default-bold", "center", "center", false, false, false, false, false) dxDrawText("Armamento ", screenW * 0.0981, screenH * 0.3737, screenW * 0.1984, screenH * 0.4036, tocolor(255, 255, 255, 255), 1.00, "default-bold", "center", "center", false, false, false, false, false) dxDrawText("Remover Armas", screenW * 0.0981, screenH * 0.4388, screenW * 0.1984, screenH * 0.4688, tocolor(255, 255, 255, 255), 1.00, "default-bold", "center", "center", false, false, false, false, false) dxDrawText("Colete Balistico", screenW * 0.0981, screenH * 0.5013, screenW * 0.1984, screenH * 0.5313, tocolor(255, 255, 255, 255), 1.00, "default-bold", "center", "center", false, false, false, false, false) dxDrawRectangle(screenW * 0.1713, screenH * 0.5664, screenW * 0.0337, screenH * 0.0156, tocolor(255, 255, 255, 0), false) dxDrawText("Fechar", screenW * 0.1706, screenH * 0.5651, screenW * 0.2050, screenH * 0.5820, tocolor(0, 255, 255, 255), 1.00, "default-bold", "center", "center", false, false, false, false, false) end function abrirpainel () if painelpol == false then addEventHandler ("onClientRender", root, pmpcdx) showCursor (true) painelpol = true end end addEvent ("abrirpainel", true) addEventHandler ("abrirpainel", root, abrirpainel) function armapaisana (_,state) if painelpol == true then if state == "down" then if isCursorOnElement(screenW * 0.0981, screenH * 0.3737, screenW * 0.1003, screenH * 0.0299) then triggerServerEvent ("armapaisana", localPlayer) removeEventHandler ("onClientRender", root, pmpcdx) showCursor (false) painelpol = false end end end end addEventHandler ("onClientClick", root, armapaisana) function remover (_,state) if painelpol == true then if state == "down" then if isCursorOnElement(screenW * 0.0981, screenH * 0.4388, screenW * 0.1003, screenH * 0.0299) then triggerServerEvent ("remover", localPlayer) removeEventHandler ("onClientRender", root, pmpcdx) showCursor (false) painelpol = false end end end end addEventHandler ("onClientClick", root, remover) ------------------ function coletebpm(_,state) if painelpol then if state == "down" then if isCursorOnElement (screenW * 0.0981, screenH * 0.5013, screenW * 0.1003, screenH * 0.0299) then triggerServerEvent ("coletebpm", getLocalPlayer()) removeEventHandler ("onClientRender", root, pmpcdx) showCursor (false) painelpol = false end end end end addEventHandler ("onClientClick", root, coletebpm) ----------- function fecharpol (_,state) if painelpol == true then if state == "down" then if isCursorOnElement (screenW * 0.1713, screenH * 0.5664, screenW * 0.0337, screenH * 0.0156) then removeEventHandler ("onClientRender", root, pmpcdx) showCursor (false) painelpol = false end end end end addEventHandler ("onClientClick", root, fecharpol) local x,y = guiGetScreenSize() function isCursorOnElement(x,y,w,h) local mx,my = getCursorPosition () local fullx,fully = guiGetScreenSize() cursorx,cursory = mx*fullx,my*fully if cursorx > x and cursorx < x + w and cursory > y and cursory < y + h then return true else return false end end ===SERVER=== local kitPM = createMarker (1438.5236816406, -1713.2526855469, 13.380000114441-1, "cylinder", 1.1, getColorFromString("#7CFC00")) bpmgrup = { "PM"} function abrirpainel (source) for i, k in pairs(bpmgrup) do local ContaACL = getAccountName ( getPlayerAccount ( source ) ) if isObjectInACLGroup ("user."..ContaACL, aclGetGroup (k)) then triggerClientEvent (source, "abrirpainel", root) end end end addEventHandler ("onMarkerHit", kitPM, abrirpainel) function dxMsg(source, text, type) exports.dxmessages:outputDx(source, text, type) end function armapaisana () giveWeapon ( source, 24, 9999 ) dxMsg(source, "Você pegou sua arma ", "info") end addEvent("armapaisana",true) addEventHandler ( "armapaisana", getRootElement(), armapaisana ) function remover () takeAllWeapons (source) dxMsg(source, "Você retirou o Armamento ", "info") end addEvent("remover",true) addEventHandler ( "remover", getRootElement(), remover ) ----------- function coletebpm () setPedArmor(source, 100) dxMsg(source, "Você pegou o Colete", "info") end addEvent("coletebpm", true) addEventHandler("coletebpm", getRootElement(), coletebpm) -----------
  5. migsfiveM

    camera

    I need help, I put a custom cj system, and I fixed it inside the binco, when the player passes over the clothing marker, the camera is buggy, the camera was supposed to be pointed at the player, so he could have a view clothes, does anyone know what I can do?.
  6. estou precisando de um teleport por marker, quando o player pisar em cima do marker, ele ser teleportado, vou mandar as coordenadas. ONDE O MARKER ESTÁ: 1556.6192626953,-1675.6647949219,28.39545249939 PARA ONDE O PLAYER DEVE SER TELEPORTADO: 1579.677734375,-1636.7397460938,13.552495002747 AGRADEÇO QUEM FIZER.
  7. hello guys, good morning, i need help with the following error: (AC #4 SECURITY VIOLATION: GESNHIN VULNERABLE DRIVER (mhyprotect.sys)) THIS IS THE ERROR ABOVE OBS: I don't have genshin impact and no games of this type, I've looked all over my pc and I don't have I don't have genshin impact and no games of this type, I've looked all over my pc and I don't hav
  8. hello guys, good afternoon, so I'm creating a server in the usa theme, I would like to know, if there would be a way to create a script or something like that, to convert some vehicles automatically, because sometimes I get vehicles from gta san andreas, and I need keep doing the step by step to keep converting to mta, for that, I need someone to help me, or at least, try to explain if there is any script, code, to convert vehicles automatically. THANK YOU, GOOD AFTERNOON AND BYE BYE
  9. hello guys, good afternoon, so I'm creating a server in the usa theme, I would like to know, if there would be a way to create a script or something like that, to convert some vehicles automatically, because sometimes I get vehicles from gta san andreas, and I need keep doing the step by step to keep converting to mta, for that, I need someone to help me, or at least, try to explain if there is any script, code, to convert vehicles automatically. THANK YOU, GOOD AFTERNOON AND BYE BYE
  10. mas eu não tenho nenhum genshin impact instalado na minha máquina
  11. opa rapaziada alguem pode me ajudar? meu mta fica dando esse erro: voce foi expulso do servidor (ac#4 security violation:genshin vulnerable driver
  12. opa rapaziada alguem pode me ajudar? meu mta fica dando esse erro: voce foi expulso do servidor (ac#4 security violation:genshin vulnerable driver

×
×
  • Create New...