Archived
Private
Public Access
1
0
This repository has been archived on 2026-02-04. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
ProjectBackup/C#/Mosleys/Mosleys.Client/Extensions/ExhibitVehicleExtensions.cs
2022-10-29 18:17:27 +02:00

12 lines
349 B
C#

using System;
using CitizenFX.Core.Native;
using Mosleys.Shared.Models;
namespace Mosleys.Client.Extensions {
public static class ExhibitVehicleExtensions {
public static string DisplayName(this ExhibitVehicle exhibit) =>
API.GetDisplayNameFromVehicleModel(Convert.ToUInt32((exhibit.Vehicle as dynamic).model));
}
}