# Shared

## CreateCallback

Function to create a callback in the current side

```lua
function HRLib.CreateCallback(name: string, isLocal: boolean?, cb: any)
```

Parameters description

* `name` - callback's name
* `isLocal` - sets whether or not the callback to be local
* `cb` - callback's value. Can be anything or function with return value
