DK22Pac / plugin-sdk

An SDK for developing ASI/CLEO plugins for GTA San Andreas, GTA Vice City and GTA III
zlib License
436 stars 118 forks source link

SA/Fix Burn Timer variables for CAutomobile and CBike #91

Closed Lordmau5 closed 4 years ago

Lordmau5 commented 5 years ago

Information

Up until now the burn timer for cars (or "automobiles" in general) and bikes was an integer. This is incorrect.

As seen over here in CBoat, it's supposed to be a float value ranging from 0.0f to 5000.0f - this means that the specific vehicle explodes roughly 5 seconds after it started burning.

This PR fixes the variable names and types for both CAutomobile and CBike.

Lordmau5 commented 4 years ago

It's been more than 4 months, can this get merged at some point?