Scripting Moderators ds1-e Posted October 30, 2018 Scripting Moderators Share Posted October 30, 2018 Hey, does something like "bullets" colshape exists in MTA? I'm asking because i have function which bypass players and i don't know how to make that this function will avoid bullets. Link to comment
Moderators IIYAMA Posted October 30, 2018 Moderators Share Posted October 30, 2018 (edited) There are two(three*) functions that can detect things between two points, which you could describe as "line detection". A line would be similar to a flying bullet. https://wiki.multitheftauto.com/wiki/IsLineOfSightClear https://wiki.multitheftauto.com/wiki/ProcessLineOfSight * Water detection. Edited October 30, 2018 by IIYAMA 1 Link to comment
Scripting Moderators ds1-e Posted October 31, 2018 Author Scripting Moderators Share Posted October 31, 2018 21 hours ago, IIYAMA said: There are two(three*) functions that can detect things between two points, which you could describe as "line detection". A line would be similar to a flying bullet. https://wiki.multitheftauto.com/wiki/IsLineOfSightClear https://wiki.multitheftauto.com/wiki/ProcessLineOfSight * Water detection. So it's the only way to detect bullets? Link to comment
Moderators IIYAMA Posted October 31, 2018 Moderators Share Posted October 31, 2018 (edited) If we are talking about custom bullets, then yes. For regular bullets use: https://wiki.multitheftauto.com/wiki/OnClientPlayerWeaponFire @majqq Edited October 31, 2018 by IIYAMA 1 Link to comment
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