> 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/get-native-hash.md).

# Get Native Hash

Resolves a native name to its 64-bit hash (case and underscores ignored). Numeric strings pass through.

## **Syntax**

```lua
refresh.Scripting.GetNativeHash(nativeName) -> Integer
```

## **Return**

{% hint style="success" %}
Integer (hash)
{% endhint %}

## Usage Example

```lua
local h = refresh.Scripting.GetNativeHash("PlayerPedId")
print(h == 0xD80958FC74E988A6)
```
