Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vehicle Damage Progress #2

Open
rukusgaming opened this issue Mar 4, 2021 · 14 comments
Open

Vehicle Damage Progress #2

rukusgaming opened this issue Mar 4, 2021 · 14 comments
Labels
enhancement New feature or request

Comments

@rukusgaming
Copy link

The vehicle damage pink bar does not go down to 0 when the car is dead

@l3lackMegas
Copy link
Contributor

Hi, @rukusgaming! Thank for open this issues.

I will try to check and test it.

@l3lackMegas
Copy link
Contributor

Okay, I think the problem should be solved.

@rukusgaming
Copy link
Author

rukusgaming commented Mar 4, 2021 via email

@l3lackMegas
Copy link
Contributor

Please explain "car dead" means vehicle health or engine health?

@rukusgaming
Copy link
Author

When the car is dead and vehicle health =0 the pink bar is still up at 90%+

@rukusgaming
Copy link
Author

well engine health

@FlukRocker
Copy link
Member

@rukusgaming are you try new release version?

@rukusgaming
Copy link
Author

rukusgaming commented Mar 7, 2021 via email

@cyborgassassin
Copy link

I had the same issue with the damage. I managed to fix by commenting out line 26:
-- SetVehicleEngineHealth(currVeh, (EntityHealth + 0.00) * 1.5);

and changing line to 48

carHealth = (GetVehicleEngineHealth(currVeh)/ GetEntityMaxHealth(currVeh)) * 100,

probably a better way of fixing it but this works for me. Great Script!

l3lackMegas added a commit that referenced this issue Mar 12, 2021
I tried to fix it as suggested by #issuecomment-797556881ใ
l3lackMegas added a commit that referenced this issue Mar 12, 2021
@l3lackMegas
Copy link
Contributor

I tried commenting out line 26 as suggested by @cyborgassassin, Thank!

I have a some question. Have you use the RealisticVehicleFailure in your server?
Because our scripts are not compatible with RealisticVehicleFailure.

Anyway, Please report me if It's work or not.
Thank!

@cyborgassassin
Copy link

cyborgassassin commented Mar 12, 2021

I used RealisticVehicleFailure and with my changes it works prefect.

https://i.imgur.com/782DbaK.png

@l3lackMegas
Copy link
Contributor

Great!
So, I'll be working on the compatibility with RealisticVehicleFailure and release new version when it's ready.

Thank you for contributing to this repo.

@l3lackMegas l3lackMegas added the enhancement New feature or request label Mar 12, 2021
@JohnnyS
Copy link

JohnnyS commented Sep 3, 2021

Great!
So, I'll be working on the compatibility with RealisticVehicleFailure and release new version when it's ready.

Thank you for contributing to this repo.

Any update on this?

@JohnnyS
Copy link

JohnnyS commented Sep 3, 2021

@l3lackMegas Does this tie into my issue in #10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants