Jump to content

Kelvenbrryan

Members
  • Posts

    6
  • Joined

  • Last visited

Posts posted by Kelvenbrryan

  1. I know a server that whenever you hit another player, it appears that you hit him and he dies, and hits in the lag do 1 damage.
    The blood of the hit player remains at 12000 but he dies, sometimes when hit also goes to 11999, but still dies ...
    I would like to know if it is possible to create a script capable of causing that when a Hitmarker is activated, the affected player dies instantly.

  2. help.

    On 24/02/2021 at 12:28, Marilith said:

    Hey friend, I forgot to post here, but yesterday I got exactly what I wanted, credits to "Tekken" that helped me a lot, basically I made a hitX, Y, Z system with ammo and ammoclip, and I made one that hitElement activated killDayzPlayer, so , I put the sniper to do 1 damage, so now the sniper shots seem to have real time synchronization, in the same line of the code I put it for if the weapon is 34 then localPlayer will win 1 murder, and it's ready.

    Thanks for the help.

    help

  3. Bom estou tendo o seguinte problema com as sniper da minha gm quando miro rapido a textura da arma fica na frente, me passaram esse codigo deu certo por enquanto mira rapido o bug volta 

     

    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 ) setElementAlpha ( v, alpha ) end end en

     

     

    https://imgur.com/a/aZvvU

    Well I'm having the following problem with my gm's sniper when I aim quickly, the texture of the weapon is in front, they gave me this code it worked for now, quickly aim the bug back.

×
×
  • Create New...