EventWeapon

Returns the HardwareId of the weapon used to kill the victim from the OnPlayerDied or OnPlayerEarnedKill EVENT context.

Output

  • HardwareId
<block type="EventWeaponCompare">
    <value name="VALUE-0">
        <block type="EventWeapon"></block>
    </value>
    <value name="VALUE-1">
        <block type="PrimaryWeaponsItem">
            <field name="VALUE-0">PrimaryWeaponsKingston</field>
            <field name="VALUE-1">Keltec</field>
        </block>
    </value>
</block>