The command GiveItem "Blueprint'GamePrimalEarthCoreBlueprintsWeaponsPrimalItemWeaponGun.PrimalItemWeaponGun'" 1 1 0 will also give you one Simple Pistol. GFI is the most commonly used command for spawning, but some items may not have a GFI code. If that is the case, try spawning using the.