Search the Community
Showing results for tags 'sniper'.
-
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
-
Merhaba Ben sniper silahını açıyorum zoom yapıyorum daha sonra space ye basınca zoom geri gidiyor bunun çözümü nedir?
-
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?
-
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!
-
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.