RekZ Posted August 25, 2019 Posted August 25, 2019 i can get the body part where the shot hit using onPlayerWeaponFire ? Admin and Owner of the Pro Chile Community :3
Moderators IIYAMA Posted August 25, 2019 Moderators Posted August 25, 2019 31 minutes ago, RekZ said: i can get the body part where the shot hit using onPlayerWeaponFire ? No, only serverside with: https://wiki.multitheftauto.com/wiki/OnPlayerDamage Or clientside with: https://wiki.multitheftauto.com/wiki/OnClientPlayerDamage Or https://wiki.multitheftauto.com/wiki/OnClientPlayerWeaponFire + https://wiki.multitheftauto.com/wiki/ProcessLineOfSight 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
RekZ Posted August 25, 2019 Author Posted August 25, 2019 6 minutes ago, IIYAMA said: No, only serverside with: https://wiki.multitheftauto.com/wiki/OnPlayerDamage Or clientside with: https://wiki.multitheftauto.com/wiki/OnClientPlayerDamage Or https://wiki.multitheftauto.com/wiki/OnClientPlayerWeaponFire + https://wiki.multitheftauto.com/wiki/ProcessLineOfSight so in theory i can call the client use ProcessLineOfSight and return it to the server, but i will try another efficient way. Admin and Owner of the Pro Chile Community :3
WASSIm. Posted August 25, 2019 Posted August 25, 2019 Explain us what are u working for so we can help u about it
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