This commit is contained in:
in0finite 2021-09-13 01:43:57 +02:00
parent a860cf7c1d
commit 3d2ff03357

View file

@ -277,8 +277,6 @@ namespace SanAndreasUnity.Commands
if (ped.PedDef == null)
yield break;
//int[] weaponIds = new[] {WeaponId.Pistol, WeaponId.DesertEagle, WeaponId.Shotgun, WeaponId.SPAS12, WeaponId.SawnOff};
int[] slots = new int[]
{
WeaponSlot.Pistol, WeaponSlot.Shotgun, WeaponSlot.Submachine, WeaponSlot.Machine,
@ -292,12 +290,6 @@ namespace SanAndreasUnity.Commands
yield break;
}
/*var type = ped.PedDef.DefaultType;
if (type.IsGangMember() || type.IsCriminal() || type.IsCop())
{
ped.WeaponHolder.AddWeapon(WeaponId.Pistol);
}*/
NPCPedSpawner.Singleton.AddWeaponToPed(ped);
}
}