mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2024-11-15 00:37:09 +00:00
...
This commit is contained in:
parent
a860cf7c1d
commit
3d2ff03357
1 changed files with 0 additions and 8 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue