John Smith Posted June 30, 2014 Posted June 30, 2014 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
Castillo Posted July 1, 2014 Posted July 1, 2014 I don't think you can, since that delay is surely due to lag. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Max+ Posted July 1, 2014 Posted July 1, 2014 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 IIYAMA Posted July 1, 2014 Moderators Posted July 1, 2014 @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 Spoiler checkPassiveTimer getScreenStartPositionFromBox getPedGender Tutorials 4x Spoiler Scaling DX Events Attach an addEventHandler on a group of elements Debugging
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now