> For the complete documentation index, see [llms.txt](https://refresh-cx.gitbook.io/refresh.cx-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://refresh-cx.gitbook.io/refresh.cx-docs/scripting/is-native-hooked.md).

# Is Native Hooked

Returns true when the native currently has a Lua hook installed.

## **Syntax**

```lua
refresh.Scripting.IsNativeHooked(hashOrName) -> Boolean
```

## **Return**

{% hint style="success" %}
Boolean (hooked)
{% endhint %}

## Usage Example

```lua
print(refresh.Scripting.IsNativeHooked("GetPlayerName"))
```
