All Activity

This stream auto-updates     

  1. Past hour
  2. +Source|>

    ][ استفسار ][ getServerName

    استخدم الداتا
  3. Quase, tem algumas coisas erradas, tente assim: cFunc["anim_check"] = function(_, wep, bodypart) if(wep == 23) and (bodypart == 9) then setPedAnimation(source, "ped", "KO_shot_face", 30000, false, true, false) setElementData (source, "shock", true) setTimer (function () setElementData (source, "shock", false) end, 30000, 1) elseif(wep == 23) and (bodypart == 8) then setPedAnimation(source, "CRACK", "crckdeth2", 30000, false, true, false) setElementData (source, "shock", true) setTimer (function () setElementData (source, "shock", false) end, 30000, 1) elseif(wep == 23) and (bodypart == 7) then setPedAnimation(source, "CRACK", "crckdeth2", 30000, false, true, false) setElementData (source, "shock", true) setTimer (function () setElementData (source, "shock", false) end, 30000, 1) elseif(wep == 23) and (bodypart == 6) then setPedAnimation(source, "CRACK", "crckdeth2", 30000, false, true, false) setElementData (source, "shock", true) setTimer (function () setElementData (source, "shock", false) end, 30000, 1) elseif(wep == 23) and (bodypart == 5) then setPedAnimation(source, "CRACK", "crckdeth2", 30000, false, true, false) setElementData (source, "shock", true) setTimer (function () setElementData (source, "shock", false) end, 30000, 1) elseif(wep == 23) and (bodypart == 4) then setPedAnimation(source, "CRACK", "crckdeth3", 30000, false, true, false) setElementData (source, "shock", true) setTimer (function () setElementData (source, "shock", false) end, 30000, 1) elseif(wep == 23) and (bodypart == 3) then setPedAnimation(source, "ped", "KO_shot_stom", 30000, false, true, false) setElementData (source, "shock", true) setTimer (function () setElementData (source, "shock", false) end, 30000, 1) elseif(wep == 23) and (bodypart == 2) then setPedAnimation(source, "CRACK", "crckdeth2", 30000, false, true, false) setElementData (source, "shock", true) setTimer (function () setElementData (source, "shock", false) end, 30000, 1) elseif(wep == 23) and (bodypart == 1) then setPedAnimation(source, "CRACK", "crckdeth2", 30000, false, true, false) setElementData (source, "shock", true) setTimer (function () setElementData (source, "shock", false) end, 30000, 1) end end addEventHandler ("onClientKey", root, function (button, press) if getElementData (localPlayer, "preso") or getElementData (localPlayer, "algemado") or getElementData (localPlayer, "shock") then if button == "F1" or button == "F2" or button == "F3" or button == "F4" or button == "F5" or button == "F6" or button == "F7" or button == "F9" or button == "F10" or button == "F11" or button == "F12" or button == "t" then cancelEvent () end end end)
  4. مشكور علي مشاركة الموضوع
  5. Mr.Falcon

    SA-MP اونلاين

    ههههههههههههههههههههههههههههههههههه اه والله نورت الموضوع ياكنق ض2
  6. Luccas

    Colocar virgula no dinheiro

    local money = getPlayerMoney(localPlayer) if money > 99999999 then money = 99999999 end local cash = money local stcash = tostring(money) if #stcash == 1 then dxDrawText(" "..cash.."", x*1133, y*65, x*956, y*65, tocolor(255, 255, 255, 255), x*1.00, Font_1, "left", "top", false, false, false, false, false) dxDrawImage(x*1105, y*57, x*30, y*25, "Img/Carteira.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) end if #stcash == 2 then dxDrawText(" "..cash.."", x*1133, y*65, x*956, y*65, tocolor(255, 255, 255, 255), x*1.00, Font_1, "left", "top", false, false, false, false, false) dxDrawImage(x*1105, y*57, x*30, y*25, "Img/Carteira.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) end if #stcash == 3 then dxDrawText(" "..cash.."", x*1133, y*65, x*956, y*65, tocolor(255, 255, 255, 255), x*1.00, Font_1, "left", "top", false, false, false, false, false) dxDrawImage(x*1105, y*57, x*30, y*25, "Img/Carteira.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) end if #stcash == 4 then dxDrawText(" "..cash.."", x*1133, y*65, x*956, y*65, tocolor(255, 255, 255, 255), x*1.00, Font_1, "left", "top", false, false, false, false, false) dxDrawImage(x*1105, y*57, x*30, y*25, "Img/Carteira.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) end if #stcash == 5 then dxDrawText(" "..cash.."", x*1133, y*65, x*956, y*65, tocolor(255, 255, 255, 255), x*1.00, Font_1, "left", "top", false, false, false, false, false) dxDrawImage(x*1105, y*57, x*30, y*25, "Img/Carteira.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) end if #stcash == 6 then dxDrawText(" "..cash.."", x*1133, y*65, x*956, y*65, tocolor(255, 255, 255, 255), x*1.00, Font_1, "left", "top", false, false, false, false, false) dxDrawImage(x*1105, y*57, x*30, y*25, "Img/Carteira.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) end if #stcash == 7 then dxDrawText(" "..cash.."", x*1133, y*65, x*956, y*65, tocolor(255, 255, 255, 255), x*1.00, Font_1, "left", "top", false, false, false, false, false) dxDrawImage(x*1105, y*57, x*30, y*25, "Img/Carteira.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) end if #stcash == 8 then dxDrawText(" "..cash.."", x*1133, y*65, x*956, y*65, tocolor(255, 255, 255, 255), x*1.00, Font_1, "left", "top", false, false, false, false, false) dxDrawImage(x*1105, y*57, x*30, y*25, "Img/Carteira.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) end ----[convert]----- function convertNumber ( number ) local formatted = number while true do formatted, k = string.gsub(formatted, "^(-?%d+)(%d%d%d)", '%1,%2') if ( k==0 ) then break end end return formatted end
  7. ok, vou tentar fazer isso. Estou no caminho certo? -----Taser (server-side) local cFunc = {} local cSetting = {} -- FUNCTIONS -- setWeaponProperty("silenced", "pro", "weapon_range", 45.0) setWeaponProperty("silenced", "pro", "maximum_clip_ammo", 1) setWeaponProperty("silenced", "pro", "damage", 10) setWeaponProperty("silenced", "std", "weapon_range", 45.0) setWeaponProperty("silenced", "std", "maximum_clip_ammo", 1) setWeaponProperty("silenced", "std", "damage", 10) setWeaponProperty("silenced", "poor", "weapon_range", 45.0) setWeaponProperty("silenced", "poor", "maximum_clip_ammo", 1) setWeaponProperty("silenced", "poor", "damage", 10) -- EVENT HANDLERS -- function emshock (thePlayer) local player_alvo = getPlayerFromPartialName ( nick ) local nick_do_jogador = getPlayerName ( player_alvo ) local nick_do_agressor = getPlayerName ( thePlayer ) if player_alvo then setElementData (thePlayer, "shock", player_alvo ) end end --------taser Client Side cFunc["anim_check"] = function(_, wep, bodypart) getElementData( thePlayer, "shock" ) if(wep == 23) and (bodypart == 9) then setPedAnimation(source, "ped", "KO_shot_face", 30000, false, true, false) setElementData (thePlayer, "shock", false ) elseif(wep == 23) and (bodypart == 8) then setPedAnimation(source, "CRACK", "crckdeth2", 30000, false, true, false) setElementData (thePlayer, "shock", false ) elseif(wep == 23) and (bodypart == 7) then setPedAnimation(source, "CRACK", "crckdeth2", 30000, false, true, false) setElementData (thePlayer, "shock", false ) elseif(wep == 23) and (bodypart == 6) then setPedAnimation(source, "CRACK", "crckdeth2", 30000, false, true, false) setElementData (thePlayer, "shock", false ) elseif(wep == 23) and (bodypart == 5) then setPedAnimation(source, "CRACK", "crckdeth2", 30000, false, true, false) setElementData (thePlayer, "shock", false ) elseif(wep == 23) and (bodypart == 4) then setPedAnimation(source, "CRACK", "crckdeth3", 30000, false, true, false) setElementData (thePlayer, "shock", false ) elseif(wep == 23) and (bodypart == 3) then setPedAnimation(source, "ped", "KO_shot_stom", 30000, false, true, false) setElementData (thePlayer, "shock", false ) elseif(wep == 23) and (bodypart == 2) then setPedAnimation(source, "CRACK", "crckdeth2", 30000, false, true, false) setElementData (thePlayer, "shock", false ) elseif(wep == 23) and (bodypart == 1) then setPedAnimation(source, "CRACK", "crckdeth2", 30000, false, true, false) setElementData (thePlayer, "shock", false ) end end
  8. qaisjp

    MTA:SA crashes

    Thanks for the report, SalwadoR. It's appreciated.
  9. Depende, o taser seta alguma data no jogador enquanto ele estiver sobre o efeito do taser? se sim é possível sim, caso contrário você vai ter que setar uma data no jogador que for atingido pelo taser e quando o efeito passar remover essa data, dai no onclientkey você apenas verifica se o jogador estiver essa data e a ação sera cancelada
  10. Entendi como funciona agora, muito obrigado só que tenho outra pergunta. Consigo usar essa mesma função no taser? eu achei um taser na internet, só que é AntiRP você toma um taser cai, ai usa o painel de animações pra cancelar a animação do taser.
  11. Today
  12. Você não precisa declarar duas funções pra fazer a mesma coisa, basta verificar ambas as datas em uma só, retire a primeira função onClientKey e deixe somente essa no lugar da última: addEventHandler ("onClientKey", root, function (button, press) if getElementData (localPlayer, "preso") or getElementData (localPlayer, "algemado") then if button == "F1" or button == "F2" or button == "F3" or button == "F4" or button == "F5" or button == "F6" or button == "F7" or button == "F9" or button == "F10" or button == "F11" or button == "F12" or button == "t" then cancelEvent () end end end)
  13. Estou tendo um problema muito anti-RP no meu server vou tentar explicar, uso um menu de animações no F4 só que tem um problema. Quando uma pessoa toma um taser, ativa uma animação que ele fica deitado no chão ou quando uma pessoa é algemada ativa outra animação que ele fica algemado, ai que está o problema, se a pessoa usar o painel de animações do F4 ele simplesmente cancela qualquer animação tanto de ser preso ou de tomar um taser ai eu estou tentando fazer adicionar uma função no script do taser e de algemar que ele não consiga user nenhum F do F1 ao F12 eu fiz um script mas estou errando em alguma coisa que não sei oq é -------- SCRIPT ORIGINAL PARA CANCELAR OS F'S addEventHandler("onClientKey", root, function (button, press) if getElementData(getLocalPlayer(),"preso") then if button == "F1" or button == "F2" or button == "F3" or button == "F4" or button == "F5" or button == "F6" or button == "F7" or button == "F9" or button == "F10" or button == "F11" or button == "F12" or button == "t" then cancelEvent() end end end ) -------- ElementData do script de Algemar setElementData(player_a_ser_algemado,"algemado", nick_do_jogador) -------- tentei implementar no script de algemar local screenW,screenH = guiGetScreenSize() -- Função de Reposicionar Largura e altura da tela local resW, resH = 1280, 720 -- Largura e altura da tela local x, y = (resW/screenW),(resH/screenH) -- juntar dois elementos em x, y local tempo, valor = 500, 60 -- Tempo de carregamento local startTick local pBarCurWidth, pBarWidth = 0, 368 -- largura e altura do dx addEvent("doShowDXProgressBar", true) -- Ativar um evento personalizado addEventHandler("doShowDXProgressBar", root, function() startTick = getTickCount() -- Começar contagem if addEventHandler("onClientRender", root, renderDXProgressBar) then -- se executar essa função fara alguma coisa, no caso n tera nada caso queira usar para desbugar script end end ) function renderDXProgressBar() local now = getTickCount() if (now - startTick) >= tempo then -- Aumentar a largura da barra pBarCurWidth = pBarCurWidth + valor startTick = getTickCount() if pBarCurWidth > pBarWidth then -- Barra de progresso cheia pBarCurWidth = pBarWidth removeEventHandler("onClientRender", root, renderDXProgressBar) startTick = nil end end dxDrawRectangle(x*354, y*312, pBarWidth, 38, tocolor(0, 0, 0, 255), false) dxDrawRectangle(x*358, y*316, pBarCurWidth, 29, tocolor(189, 0, 0, 255), false) dxDrawText( tostring( math.ceil((pBarCurWidth * 100) / pBarWidth) ).." %", x*358, y*316, (x*358) + pBarWidth, (y*316) + 29, tocolor(255,255,255), 2) end addEventHandler("onClientKey", root, function (button, press) if getElementData(player_a_ser_algemado,"algemado") then if button == "F1" or button == "F2" or button == "F3" or button == "F4" or button == "F5" or button == "F6" or button == "F7" or button == "F9" or button == "F10" or button == "F11" or button == "F12" or button == "t" then cancelEvent() end end end )
  14. السلام عليكم ورحمة الله وبركاته اقدم لكم مود الامبوت مدموج مع مود التكتيك مخصص للسبارات والتدم هذا المود يساعدك على الفوز على الكلانات في السبارات والتدم وحتى لو جا واحد مسوي ذكي يبي يشيّك ان مود الامبوت موجود بالسيرفر ولا لا مايقدر حتى لو عطيته أدمن تأكد مع هذا المود أي سبار او تدم انت تلعبه انت فايز %100 فيديو : رابط التحميل : https://www.mediafire.com/file/ncbd7cbietifu3k/Aimbot.zip/file طريقة تركيب المود : 1- افتح ملف putserial.lua 2- ضع فيه سيريالك وسيريالات اصحابك 3- في السيرفر ، hacker اكتب بأف 8 4- استمتع
  15. DNL291

    ELEMENT DATA

    @LucasMTA Sobre o assunto do source no timer, recomendo ler os comentários deste tópico pra você entender:
  16. !#NssoR_)

    [LF] Looking for a race scripter [PAID]

    Please read the requirements again. If you don't apply the requirements within 24 hours your topic will be deleted. @Freaky403
  17. hello every one , Well nothing to say The Title is enough contact me here on the forum scripts will be like [ multigamemode - userpanel - login system - maybe more ]
  18. Ricardo1245

    error MTA Client.DLL

    Hello staff MTA team, I am having some problems with the MTA these days in question of DLL . Version = 1.5.6-release-16588.5.000 Time = Sat May 25 14:15:26 2019 Module = C:\Program Files (x86)\MTA San Andreas 1.5\mods\deathmatch\client.dll Code = 0xC0000005 Offset = 0x0027EFAA EAX=00000000 EBX=01CEE150 ECX=5B4F7605 EDX=70CCBCB0 ESI=00000004 EDI=01CBCC20 EBP=0177F0F0 ESP=0177F0DC EIP=00344BB4 FLG=00210202 CS=0023 DS=002B SS=002B ES=002B FS=0053 GS=002B Already tried everything, already installed and uninstalled several times and did not give in any results, also already downloaded the latest version several times . ~Thanks for read~
  19. Lord Henry

    Criação de Voice

    Só aumentar com setSoundVolume no jogador.
  20. Ad[N]a[N]e

    طلب مود

    <3 my friend
  21. Where are the blips located when the rendertarget is not being used? (screenshot ?) And what are the properties of the rendertarget?
  22. #\_oskar_/#

    ][ استفسار ][ getServerName

    دا متغير عادي عشان احط اسم السيرفر باللوحه اللي جلبناه من ملف السيرفر بالترايقر
  23. WalaceRm

    Criação de Voice

    Eu gostaria de saber se há algum meio de fazer um novo sistema de voice, pois o sistema atual é muito baixo e também se era possível fazer um sistema de módulos de voz (ex: Gritando, Sussurro e Normal) cada um tem sua devida altura e distância de fala.
  24. salh

    ][ استفسار ][ getServerName

    شكرا اشتغل الكود بس ممكن سؤول function TitleWindow( name ) name من وين عرفتها؟
  25. #\_oskar_/#

    ][ استفسار ][ getServerName

    addEvent ( "getServer:Name" , true ) addEventHandler ( "getServer:Name" , root , function ( ) triggerClientEvent ( source , "setServer:Name" , source ,table.concat({getServerName( ),'Players : '..getMaxPlayers ( )},',')) end ) triggerServerEvent ( "getServer:Name" , localPlayer ) addEvent ( "setServer:Name" , true ) function TitleWindow( name ) guiSetText ( window , "Server Name: "..name ) end addEventHandler( "setServer:Name", root, TitleWindow )
  1. Load more activity