# SCRIPT::GET_HASH_OF_THIS_SCRIPT_NAME

- **Hash:** `0xBC2C927F5C264960`
- **Namespace:** SCRIPT
- **Runtime name (Lua/JS):** `GetHashOfThisScriptName`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** named only
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/SCRIPT/GET_HASH_OF_THIS_SCRIPT_NAME

## Signature

```c
Hash GET_HASH_OF_THIS_SCRIPT_NAME();
```

## Returns

`Hash`

## Usage

### Lua

```lua
local retval = GetHashOfThisScriptName()

-- always available, by hash
local retval = Citizen.InvokeNative(0xBC2C927F5C264960, Citizen.ResultAsInteger())
```

### JavaScript

```js
const retval = GetHashOfThisScriptName();

// by hash
const retval = Citizen.invokeNative('0xBC2C927F5C264960', Citizen.returnResultAnyway(), Citizen.resultAsInteger());
```

### C#

```csharp
int retval = Function.Call<int>((Hash)0xBC2C927F5C264960);
```

*Sources: alloc8or RDR3 NativeDB.*
