DataDumper

This commit is contained in:
sardelka9515
2022-10-21 19:41:38 +08:00
parent 69419d41e0
commit 6b34ab6e36
6 changed files with 171 additions and 15 deletions

View File

@ -281,6 +281,7 @@ namespace RageCoop.Client
}
public static EntityBone GetMuzzleBone(this Vehicle v, VehicleWeaponHash hash)
{
if ((uint)hash == 1422046295) { hash = VehicleWeaponHash.WaterCannon; } // Weird...
var i = v.GetMuzzleIndex(hash);
if (i == -1) { return null; }
return v.Bones[i];