Jump to content

Search the Community

Showing results for tags 'sniper'.

  • 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

Found 5 results

  1. So, I got this script ready, but the problem is that I run it, it works without giving an error, but as soon as I aim with a sniper ID 34, it gives this error message, I don't understand much about scripting so I don't know how to solve it or what could it be, can anyone help me? OBS: it's a script so that when the PLAYER aims with the sniper, it changes dimensions, to be correcting the problem of the weapon appearing in front of the scope if you aim too fast. local alpha = 255 bindKey ( "aim_weapon", "both", function ( _, state ) if getPedWeaponSlot ( localPlayer ) == 6 then if ( state == "down" ) then alpha = 0 elseif ( state == "up" ) then alpha = 255 end for _, v in ipairs ( getElementsByType ( "object", root, true ) ) do if isElementAttachedToBone ( v ) then local id = getElementModel ( v ) if ( id == 2584 ) then setElementAlpha ( v, alpha ) setElementDimension(v, alpha == 0 and 9999 or getElementDimension(localPlayer)) end end end end end ) PICTURE OF BUG PICTURE OF BUG 2
  2. mehmet1212

    Sniper Bugu

    Merhaba Ben sniper silahını açıyorum zoom yapıyorum daha sonra space ye basınca zoom geri gidiyor bunun çözümü nedir?
  3. Enju12

    Error damage

    Does anyone know why the sniper when giving the first shot does not receive the damage? or when the player is running and I want to shoot he does not get the damage. And in my server of mta the look became smaller, what could be the problem?
  4. addEvent "onPlayerHeadshot" addEventHandler("onPlayerDamage", getRootElement(), function (attacker, weapon, bodypart, loss) if bodypart == 9 then local result = triggerEvent("onPlayerHeadshot", source, attacker, weapon, loss) if result == true then killPed(source, attacker, weapon, bodypart) end end end ) local weapons = {20, 40} function onClientPedDamage(_, weapon) if(getElementType(source) == "player") then if(weapons[weapon]) then return killPed(source) end end end addEventHandler("onClientPedDamage", getRootElement(), onClientPedDamage) for _, v in ipairs ( { "pro", "std", "poor" } ) do setWeaponProperty ( "sniper", v, "damage", 9999 ) end ------------------------------------------------------------------------------------------------ ELE TA EXPLODINDO CARRO COM 1 TIRO TBM, COMO RESOLVO? QUERO Q MATE SO O PLAYER!
  5. Chupy

    SNIPER BUG

    Hello, i 'm new here, so I've a problem with my sniper ( mta dayz , and play too ) I set a big damage for my sniper, but have more times , sniper don't kill the play have times that i have to give 4, 5 hits for the player die Anyone can help me ? Any script that sniper kill with 1 shot ,( in all parts, kill player with lag ) I see many servers with sniper fix , plls <3 ( Sorry for my english ) Thanks.
×
×
  • Create New...