Desaster Posted November 20, 2013 Posted November 20, 2013 hi , when I create a car then I set it's health to any number it create me a car with 0 health idk why when I remove the setElemntHealth fuction it work but the car has 100 health I want now to ask you how I can setElemntHealth without that the car burns
ZL|LuCaS Posted November 20, 2013 Posted November 20, 2013 hi ,when I create a car then I set it's health to any number it create me a car with 0 health idk why when I remove the setElemntHealth fuction it work but the car has 100 health I want now to ask you how I can setElemntHealth without that the car burns use a value more than 0
Desaster Posted November 20, 2013 Author Posted November 20, 2013 ik but I don't know whats the problem first I got the number from a table setElementHealth(vehicle, tonumber(theCar[i].Health)) the I did this setElementHealth(vehicle, 99) and still not working
ZL|LuCaS Posted November 20, 2013 Posted November 20, 2013 ik but I don't know whats the problem first I got the number from a table setElementHealth(vehicle, tonumber(theCar[i].Health)) the I did this setElementHealth(vehicle, 99) and still not working local oi = createVehicle(411, -2405,-598,132.6484375) setElementHealth ( oi , 500 ) use 500 for half life use 1000 for full life
Desaster Posted November 20, 2013 Author Posted November 20, 2013 ok it don't seem your a really nice scipter anyways I found the problem thnx and just for info max health is 100 not 1000
Dealman Posted November 20, 2013 Posted November 20, 2013 If you want help in the future, you can at least try to be a bit appreciative when someone is trying to help. There's no need for such dis-respectful behaviour. And for your information, vehicles in MTA has a very unique health system. Maximum health is indeed 1000 for vehicles, if you set it to, I believe it's either 250 or 200 - the car will start to burn - and then blow up.
ZL|LuCaS Posted November 20, 2013 Posted November 20, 2013 If you want help in the future, you can at least try to be a bit appreciative when someone is trying to help. There's no need for such dis-respectful behaviour.And for your information, vehicles in MTA has a very unique health system. Maximum health is indeed 1000 for vehicles, if you set it to, I believe it's either 250 or 200 - the car will start to burn - and then blow up. exactly.
Desaster Posted November 20, 2013 Author Posted November 20, 2013 I am really sry men I was just angry lol nvm
ZL|LuCaS Posted November 21, 2013 Posted November 21, 2013 I am really sry men I was just angry lol nvm has no problem I'm here to help you
xXMADEXx Posted November 21, 2013 Posted November 21, 2013 Vehicle health is on a scale of 0-1000, not 0-100
Moderators IIYAMA Posted November 21, 2013 Moderators Posted November 21, 2013 max is 2000. only it is buggy.
ZL|LuCaS Posted November 21, 2013 Posted November 21, 2013 max is 2000. only it is buggy. and this a problem?
Moderators IIYAMA Posted November 21, 2013 Moderators Posted November 21, 2013 max is 2000. only it is buggy. and this a problem? It can be, when you use it. But to get back to the topic, he can also fake that 100 hp. Just use the math people learn at school and he will be fine.
ZL|LuCaS Posted November 22, 2013 Posted November 22, 2013 max is 2000. only it is buggy. and this a problem? It can be, when you use it. But to get back to the topic, he can also fake that 100 hp. Just use the math people learn at school and he will be fine. interesting.
Moderators IIYAMA Posted November 22, 2013 Moderators Posted November 22, 2013 interesting. Was that sarcasm? Nvm, enjoy that. No reply pls.
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