Your code appears to be a script written for Multi Theft Auto: San Andreas (MTA:SA), which utilizes the Lua programming language. This script handles interfaces for vehicle dealership and garage management, along with events for user interaction.
Given the extensive code you've posted, let's focus on the potential issues and clean up some parts for better readability and functionality.
### Possible Improvements & Corrections
1. **Repetition of