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#/FiveM/Mosleys/Mosleys.Client/Extensions/ExhibitVehicleExtensions.cs
2022-11-12 13:10:03 +01: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));
}
}