Client Functions
OpenVehicleShop
Opens the vehicle shop interface for a specific shop.
exports["sd_vehicleshop"]:OpenVehicleShop(shop)shop:string- Shop identifier
Return: boolean - Success status
GetClosestShop
Gets the closest vehicle shop to the player.
exports["sd_vehicleshop"]:GetClosestShop()Return: string|nil - Shop identifier or nil if none found
GetAllShops
Gets all available shops.
exports["sd_vehicleshop"]:GetAllShops()Return: table - Array of shop identifiers
IsInVehicleShop
Checks if the player is currently in a vehicle shop.
exports["sd_vehicleshop"]:IsInVehicleShop()Return: boolean - True if in shop, false otherwise
GetCurrentShop
Gets the current shop the player is in.
exports["sd_vehicleshop"]:GetCurrentShop()Return: string|nil - Current shop identifier or nil