> For the complete documentation index, see [llms.txt](https://doc.var-fivem.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.var-fivem.com/pin-code/export.md).

# Export

## Callback

```lua
exports["Var-PinCode"]:SendToPinCode("1234", function(result)
    if result then 
        print("Code correct") 
    else
        print("Code incorrect") 
    end
end)
```

## Synchrone

```lua
local Result = exports["Var-PinCode"]:SendToPinCodeSync("1234")
```

## Commands

<table><thead><tr><th>Command</th><th width="238">Description</th></tr></thead><tbody><tr><td>/pin</td><td>Opens test PIN UI with <code>1234</code></td></tr></tbody></table>
