kino Posted June 14, 2012 Share Posted June 14, 2012 how to get status visual damage vihicle Link to comment
Castillo Posted June 15, 2012 Share Posted June 15, 2012 I don't understand your question. Link to comment
DarkLink Posted June 15, 2012 Share Posted June 15, 2012 what he is saying is: how can he save the vehicle damages . I mean if a vehicle loses a door, and then he exit server and go online again he will see that vehicle without the door Did u understand ? I actually dont know also, but is automatic synced right ? when we log off and log on.. I guess Link to comment
Moderators IIYAMA Posted June 15, 2012 Moderators Share Posted June 15, 2012 It is possible, but I am not sure if this script have to update these stats afther a player rejoins: Get https://wiki.multitheftauto.com/wiki/GetVehicleDoorState Set https://wiki.multitheftauto.com/wiki/SetVehicleDoorState (I don't know, if you can check the lights if they are damaged. Also it will happen to all the lights.) Get https://wiki.multitheftauto.com/wiki/Get ... LightState https://wiki.multitheftauto.com/wiki/Get ... rideLights Set https://wiki.multitheftauto.com/wiki/Set ... LightState https://wiki.multitheftauto.com/wiki/Set ... rideLights Maybe if you want this to: (I am also not sure about this one, if damage can sync this) https://wiki.multitheftauto.com/wiki/Get ... rOpenRatio https://wiki.multitheftauto.com/wiki/Set ... rOpenRatio Link to comment
Anderl Posted June 15, 2012 Share Posted June 15, 2012 This is not what he want IIYAMA. He want to save the car damage, not to set doors/lights state. Link to comment
Moderators IIYAMA Posted June 15, 2012 Moderators Share Posted June 15, 2012 I just continue with Dark Link conclusion about "visual damage", else he just want to save the health of the vehicle. ... https://wiki.multitheftauto.com/wiki/GetElementHealth ... Link to comment
Anderl Posted June 15, 2012 Share Posted June 15, 2012 I just continue with Dark Link conclusion about "visual damage", else he just want to save the health of the vehicle. ... https://wiki.multitheftauto.com/wiki/GetElementHealth ... That's not what he tried to said. He was talking about vehicle health. Link to comment
Moderators IIYAMA Posted June 15, 2012 Moderators Share Posted June 15, 2012 Draken pls If you know what he is talking about, than help him. a vehicle is an element..... (theElement: The player or vehicle whose health you want to check. ) I know you are a much better scripter, but you are at the moment very unclear. Because I don't think he is talking about the vehicle health. He is talking about the damage that is visible. At doors etc. Link to comment
Anderl Posted June 15, 2012 Share Posted June 15, 2012 He is talking about the damage that is visible. At doors etc. This is relative to the vehicle health. Link to comment
Guest Guest4401 Posted June 15, 2012 Share Posted June 15, 2012 He is talking about the damage that is visible. At doors etc.This is relative to the vehicle health. Not really. setVehicleDoorState sets the door state to broken or missing and so forth being totally independent of the vehicle health and vice-versa. Link to comment
DiSaMe Posted June 15, 2012 Share Posted June 15, 2012 Vehicle health is health of engine and most people can tell the difference between engine and doors So IIYAMA posted the right functions. But there are two more functions: getVehiclePanelState setVehiclePanelState Link to comment
kino Posted June 15, 2012 Author Share Posted June 15, 2012 He is talking about the damage that is visible. At doors etc.This is relative to the vehicle health. yes, i want analage function http://wiki.sa-mp.com/wiki/GetVehicleDamageStatus Link to comment
kino Posted June 15, 2012 Author Share Posted June 15, 2012 Vehicle health is health of engine and most people can tell the difference between engine and doors So IIYAMA posted the right functions. But there are two more functions: getVehiclePanelState setVehiclePanelState very senks Link to comment
50p Posted June 15, 2012 Share Posted June 15, 2012 Maybe he wants this: https://community.multitheftauto.com/index.php?p= ... ls&id=5004 Link to comment
Anderl Posted June 15, 2012 Share Posted June 15, 2012 Vehicle health is health of engine and most people can tell the difference between engine and doors So IIYAMA posted the right functions. But there are two more functions: getVehiclePanelState setVehiclePanelState Did you ever play GTA San Andreas? When your car gets damaged, fume appears, doors fall... Link to comment
Moderators IIYAMA Posted June 16, 2012 Moderators Share Posted June 16, 2012 yes I did, hit the doors with your feet and hands and when you do it right, the door can break out. Link to comment
Anderl Posted June 16, 2012 Share Posted June 16, 2012 yes I did, hit the doors with your feet and hands and when you do it right, the door can break out. Was I talking to you? No lol hit the doors with your feet and hands and when you do it right, the door can break out. Are you kidding me? What did I say? Link to comment
Moderators IIYAMA Posted June 16, 2012 Moderators Share Posted June 16, 2012 You said something that is in our opinion not eagle. No need to start a useless discussion, about opinions. moderator pls close topic, he have his awnsers. Link to comment
Anderl Posted June 16, 2012 Share Posted June 16, 2012 You said something that is in our opinion not eagle.No need to start a useless discussion, about opinions. moderator pls close topic, he have his awnsers. Read every word that I say before replying. Link to comment
DiSaMe Posted June 16, 2012 Share Posted June 16, 2012 Vehicle health is health of engine and most people can tell the difference between engine and doors So IIYAMA posted the right functions. But there are two more functions: getVehiclePanelState setVehiclePanelState Did you ever play GTA San Andreas? When your car gets damaged, fume appears, doors fall... Yes, I did. And did you? I shot the car with M4 until black smoke appeared and doors still weren't damaged at all. Link to comment
Anderl Posted June 17, 2012 Share Posted June 17, 2012 I'm not talking about damaging the car with weapons. When you beat with the car in something, when it reaches a determinated health doors fall. Anyway, let's stop with that shit. Link to comment
DiSaMe Posted June 17, 2012 Share Posted June 17, 2012 I'm not talking about damaging the car with weapons. When you beat with the car in something, when it reaches a determinated health doors fall. You were talking about vehicle element health and that includes any kind damage. Simple logic Link to comment
50p Posted June 17, 2012 Share Posted June 17, 2012 Stop this nowhere-leading conversation already. Topic says, "save visual damage vehicle".. It says it all. If you want to talk about whether you want to save the health or not, PM yourselves. Besides, door doesn't always fall off, as far as I know if the car is locked you can keep hitting the doors and they won't fall off; the car will start burning. Link to comment
Al3grab Posted June 17, 2012 Share Posted June 17, 2012 'getVehicleDoorState' returns 'Shut,intact,Ajar,damaged,missing' i think this function will do the magic .. 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