diff --git a/api/AltV.Net.Async/Elements/Entities/AsyncVehicle.cs b/api/AltV.Net.Async/Elements/Entities/AsyncVehicle.cs index 61ee51e9d..ad7fb6cf1 100644 --- a/api/AltV.Net.Async/Elements/Entities/AsyncVehicle.cs +++ b/api/AltV.Net.Async/Elements/Entities/AsyncVehicle.cs @@ -1994,21 +1994,21 @@ public List Passengers } } - public void SetBage(string textureDictionary, string texture, VehicleBadgePosition[] vehicleBadgePosition) + public void SetBadge(string textureDictionary, string texture, VehicleBadgePosition[] vehicleBadgePosition) { lock (Vehicle) { if (!AsyncContext.CheckIfExistsOrCachedNullable(Vehicle)) return; - Vehicle.SetBage(textureDictionary, texture, vehicleBadgePosition); + Vehicle.SetBadge(textureDictionary, texture, vehicleBadgePosition); } } - public void SetBage(uint textureDictionary, uint texture, VehicleBadgePosition[] vehicleBadgePosition) + public void SetBadge(uint textureDictionary, uint texture, VehicleBadgePosition[] vehicleBadgePosition) { lock (Vehicle) { if (!AsyncContext.CheckIfExistsOrCachedNullable(Vehicle)) return; - Vehicle.SetBage(textureDictionary, texture, vehicleBadgePosition); + Vehicle.SetBadge(textureDictionary, texture, vehicleBadgePosition); } } diff --git a/api/AltV.Net/Elements/Entities/IVehicle.cs b/api/AltV.Net/Elements/Entities/IVehicle.cs index 3a215a3ea..b7bd540e8 100644 --- a/api/AltV.Net/Elements/Entities/IVehicle.cs +++ b/api/AltV.Net/Elements/Entities/IVehicle.cs @@ -863,7 +863,7 @@ NumberPlateStyle GetNumberPlateStyleExt() => /// The hash of texture /// The array of badge position. Maximum is 4 /// When badge postion is more the 4 - void SetBage(string textureDictionary, string texture, VehicleBadgePosition[] vehicleBadgePosition); + void SetBadge(string textureDictionary, string texture, VehicleBadgePosition[] vehicleBadgePosition); /// /// Set badges to vehicle @@ -872,6 +872,6 @@ NumberPlateStyle GetNumberPlateStyleExt() => /// The hash of texture /// The array of badge position. Maximum is 4 /// When badge postion is more the 4 - void SetBage(uint textureDictionary, uint texture, VehicleBadgePosition[] vehicleBadgePosition); + void SetBadge(uint textureDictionary, uint texture, VehicleBadgePosition[] vehicleBadgePosition); } } \ No newline at end of file diff --git a/api/AltV.Net/Elements/Entities/Vehicle.cs b/api/AltV.Net/Elements/Entities/Vehicle.cs index 4a931c54e..20a77c60c 100644 --- a/api/AltV.Net/Elements/Entities/Vehicle.cs +++ b/api/AltV.Net/Elements/Entities/Vehicle.cs @@ -2086,12 +2086,12 @@ public List Passengers } } - public void SetBage(string textureDictionary, string texture, VehicleBadgePosition[] vehicleBadgePosition) + public void SetBadge(string textureDictionary, string texture, VehicleBadgePosition[] vehicleBadgePosition) { - SetBage(Alt.Hash(textureDictionary), Alt.Hash(texture), vehicleBadgePosition); + SetBadge(Alt.Hash(textureDictionary), Alt.Hash(texture), vehicleBadgePosition); } - public void SetBage(uint textureDictionary, uint texture, VehicleBadgePosition[] vehicleBadgePosition) + public void SetBadge(uint textureDictionary, uint texture, VehicleBadgePosition[] vehicleBadgePosition) { if (vehicleBadgePosition.Length > 4) {