# CFX::ADD_TEXT_ENTRY_BY_HASH

- **Hash:** `0x289DA860`
- **Namespace:** CFX
- **Runtime name (Lua/JS):** `AddTextEntryByHash`
- **Side:** client (Cfx runtime native)
- **Name status:** official
- **Documentation:** named only
- **URL:** https://natives.borderlinerp.com/natives/CFX/ADD_TEXT_ENTRY_BY_HASH

## Signature

```c
void ADD_TEXT_ENTRY_BY_HASH(Hash entryKey, char* entryText);
```

## Parameters

- `entryKey` (`Hash`)
- `entryText` (`char*`)

## Returns

`void`

## Usage

### Lua

```lua
AddTextEntryByHash(entryKey, entryText)

-- always available, by hash
Citizen.InvokeNative(0x289da860, entryKey, entryText)
```

### JavaScript

```js
AddTextEntryByHash(entryKey, entryText);

// by hash
Citizen.invokeNative('0x289da860', entryKey, entryText);
```

### C#

```csharp
Function.Call((Hash)0x289da860, entryKey, entryText);
```

- Hash parameters: the named function also accepts a string and hashes it for you; `Citizen.InvokeNative` needs the number — pass `joaat("name")` or a backtick literal like `` `name` ``.

*Sources: Cfx.re native reference.*
