Show error if too far away to repair a vehicle

This commit is contained in:
Vortrex
2022-05-24 01:18:20 -05:00
parent 6280a9f8df
commit 095abe2e20

View File

@@ -872,6 +872,8 @@ function playerUseItem(client, hotBarSlot) {
if(getItemData(itemIndex).value <= 0) {
destroyItem(itemIndex);
}
} else {
messagePlayerError(client, getLocaleString(client, "VehicleRepairFailedTooFar"));
}
break;
}