matin Posted April 15, 2020 Posted April 15, 2020 hi there is any Event it called when player hit object ? (client side)
Moderators IIYAMA Posted April 15, 2020 Moderators Posted April 15, 2020 1 hour ago, matin said: hi there is any Event it called when player hit object ? ( For melee hits, there is 1, which only works for break-able objects. If you want other elements as well, you need to make the event yourself: https://wiki.multitheftauto.com/wiki/ProcessLineOfSight https://wiki.multitheftauto.com/wiki/BindKey For bullets: https://wiki.multitheftauto.com/wiki/OnClientPlayerWeaponFire 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