Skip to content

Commit

Permalink
Merge pull request #51 from Mergevos/fix-never-used
Browse files Browse the repository at this point in the history
Symbol never used tweaks
  • Loading branch information
Mergevos committed Jun 8, 2023
2 parents 9dc0694 + 8d87004 commit 360adf4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vehicle_plus.inc
Original file line number Diff line number Diff line change
Expand Up @@ -2625,7 +2625,7 @@ stock bool: Vehicle_GetPanelsCondition(vehicleid, &VEHICLE_PANELS_CONDITION: fro

forward OnVehicleHealthChange(vehicleid, Float: oldhealth, Float:newhealth);

timer __Vehicle_HealthTrack[500](vehicleid)
stock timer __Vehicle_HealthTrack[500](vehicleid)
{
new Float: healthveh;
GetVehicleHealth(vehicleid, healthveh);
Expand Down Expand Up @@ -3277,7 +3277,7 @@ hook native SetVehiclePos(vehicleid, Float:x, Float:y, Float:z)
return continue(vehicleid, x, y, z);
}

timer __Vehicle_DistanceTravelled[1000](vehicleid)
stock timer __Vehicle_DistanceTravelled[1000](vehicleid)
{
if(GetVehicleDistanceFromPoint(vehicleid, Vehicle_gsPositionX[vehicleid], Vehicle_gsPositionY[vehicleid], Vehicle_gsPositionZ[vehicleid]) >= 0.005)
{
Expand Down

0 comments on commit 360adf4

Please sign in to comment.