RedM Natives

_INT_TO_STRING

Hash0xCF11C0CEB40C401B
Runtime nameIntToString
NamespaceMISC
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _INT_TO_STRING(int value, const char* format, char* buffer);

Parameters

NameTypeDescription
valueint—
formatconst char*—
bufferchar*—

Returns void

Description

Note: the buffer should be exactly 32 bytes long

Usage

Lua
IntToString(value, format, buffer)

-- always works, by hash
Citizen.InvokeNative(0xCF11C0CEB40C401B, value, format, buffer)
JavaScript and C#
JavaScript
IntToString(value, format, buffer);

// by hash
Citizen.invokeNative('0xCF11C0CEB40C401B', value, format, buffer);
C#
Function.Call((Hash)0xCF11C0CEB40C401B, value, format, buffer);
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.