Special Item

Protected Item

Behavior:

  • No one can rob this item

  • Weapon with protected attachment can't be robbed.

  • If enabled in config, police can take this item.

  • Player can drop or give this item.

  • Can be removed by external script with RemoveItem function.

  • Will be removed with /clearinv command.

exports['ak47_inventory']:AddItem(source, 'weapon_pistol', 1, nil, {protected = 1})

Locked Item

Behavior:

  • Item can't be moved to any other inventory

  • Player can't drop or give this item

  • Weapon with locked attachment can't be robbed/moved/droped.

  • Can be removed by external script with RemoveItem function.

  • Will be removed with /clearinv command.

Last updated