Skip to main content

inventory:lockInventory

You can also add a reason but this is optional.

TriggerEvent('inventory:lockInventory', miliseconds)

This example will lock the inventory for 1 second.

Clientside

TriggerEvent('inventory:lockInventory', 1000)

Serverside

TriggerClientEvent('inventory:lockInventory', source, 1000)