# Server Functions

### CreateUseableItem

Register an item that can be used from the inventory. e.g sandwiches, phones etc.

<table><thead><tr><th width="154">Parameter</th><th width="104" data-type="checkbox">Required</th><th width="120">Type</th><th>Description</th></tr></thead><tbody><tr><td>name</td><td>true</td><td>string</td><td>Name of the item</td></tr><tr><td>callback</td><td>true</td><td>Function</td><td>Callback Function, Ran on item use</td></tr></tbody></table>

```lua
TMC.Functions.CreateUseableItem('tmc_giftcard', function(source, item, index)
    --
end)
```
