DazzaJay Posted September 19, 2008 Posted September 19, 2008 Is it possible to determine which part of the body or which part of a vehicle a person has shot at? If not,will it be possible in future versions? ____________ The Most Accurate Real Car Names List & Mod Ever. No Bullcrap. <-- Updated 20-January-2008! The Most Awesome MTA Clan and Servers Ever! No Bullcrap! <-- We Are Recruting New Members! [PS] Clan signups are open to the public! Click Here to join! The Most Accurate Real Car Names List & Mod Ever. No Bullcrap. <-- Updated 20-January-2008! The Most Awesome MTA Clan and Servers Ever! No Bullcrap! <-- We Are Recruting New Members! [PS] Clan signups are open to the public! (Currently we are looking for Scripters) Click Here to join!
50p Posted September 20, 2008 Posted September 20, 2008 http://development.mtasa.com/index.php? ... ayerDamage For players, there isn't such event for vehicles and probably won't be. - MTA Script Editor - Ask your scripting questions properly, please. - 50p's public resources - Meta.xml - what is it for? How is it possible LOL
DazzaJay Posted September 20, 2008 Author Posted September 20, 2008 what about from use with onClientPlayerShoot ____________ The Most Accurate Real Car Names List & Mod Ever. No Bullcrap. <-- Updated 20-January-2008! The Most Awesome MTA Clan and Servers Ever! No Bullcrap! <-- We Are Recruting New Members! [PS] Clan signups are open to the public! Click Here to join! The Most Accurate Real Car Names List & Mod Ever. No Bullcrap. <-- Updated 20-January-2008! The Most Awesome MTA Clan and Servers Ever! No Bullcrap! <-- We Are Recruting New Members! [PS] Clan signups are open to the public! (Currently we are looking for Scripters) Click Here to join!
50p Posted September 20, 2008 Posted September 20, 2008 If you mean onClientPlayerWeaponFire then you will just get the coords (world x, y and z) and the element that client hit (not exact part of it). - MTA Script Editor - Ask your scripting questions properly, please. - 50p's public resources - Meta.xml - what is it for? How is it possible LOL
DazzaJay Posted September 20, 2008 Author Posted September 20, 2008 but can u get the exact part somehow? ____________ The Most Accurate Real Car Names List & Mod Ever. No Bullcrap. <-- Updated 20-January-2008! The Most Awesome MTA Clan and Servers Ever! No Bullcrap! <-- We Are Recruting New Members! [PS] Clan signups are open to the public! Click Here to join! The Most Accurate Real Car Names List & Mod Ever. No Bullcrap. <-- Updated 20-January-2008! The Most Awesome MTA Clan and Servers Ever! No Bullcrap! <-- We Are Recruting New Members! [PS] Clan signups are open to the public! (Currently we are looking for Scripters) Click Here to join!
50p Posted September 20, 2008 Posted September 20, 2008 Well, you could use maths to calculate what part of the vehicle was hit, but most of the vehicles have different shape, so every vehicle would have to be calculated with different values. You don't want to make ~200 functions or a table which would hold all the vehicles' size, do you? And in addition, vehicle's collision is simplified to take less memory and faster rendering so it wouldn't be accurate anyway. - MTA Script Editor - Ask your scripting questions properly, please. - 50p's public resources - Meta.xml - what is it for? How is it possible LOL
DazzaJay Posted September 20, 2008 Author Posted September 20, 2008 Ah, Bugger. well, thanks for your help, iil post back here if i have any more questions about this or related things. The Most Accurate Real Car Names List & Mod Ever. No Bullcrap. <-- Updated 20-January-2008! The Most Awesome MTA Clan and Servers Ever! No Bullcrap! <-- We Are Recruting New Members! [PS] Clan signups are open to the public! (Currently we are looking for Scripters) Click Here to join!
Mr.Hankey Posted September 20, 2008 Posted September 20, 2008 http://development.mtasa.com/index.php? ... oundingBox A rough way to get an elements shape. Maybe it will work using this
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