Jump to content

making default headshot res go faster


Recommended Posts

Posted

how can i make default headshot respond quicker with no delay?

if i shoot player's head,player will die after 500ms of the shot i made,but how can i make this process faster?

this is the default headshot resource code

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 
) 

If you find my post useful or if it helped you, please like my post :)
Ingame name: ZoeN

560x95_FFFFFF_FF9900_000000_000000.png

Posted

I don't think you can, since that delay is surely due to lag.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

you can't if they delay that's because the lag on the server , you must fix the server and make sure it's on great hosting

- New , Kill System

- New, GameMode Intro

- Leve / Exp System

- New nametag showing style

- New , Hud For Players

- Skin Selection from SA-MP

- Money System / Buy Weapons

- Drop Weapons

- New, Flood System

- New , Group Assign

- Gun license For Weapons

- Random Rule System For Money

  • Moderators
Posted

@Max+

Servers are most of the time fine, clients are not.

@John Smith

Try this ugly, disgusting and laggy resource:

https://community.multitheftauto.com/in ... ls&id=1600

and it may go a bit faster. I don't recommend it, but it is the only resource next to my syncro which does have faster headshots.

Do you want to improve your Lua programming skills and make less mistakes?   Start with Lua Language Server!   🙀

 

  Useful functions  3x 

  Tutorials  4x 

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...