RedM Natives

SET_SNAKEOIL_FOR_ENTRY

Hash0xA7DD3209
Runtime nameSetSnakeoilForEntry
NamespaceCFX
SideClient
NameOfficial
Docs

Signature

void SET_SNAKEOIL_FOR_ENTRY(char* name, char* path, char* data);

Parameters

NameTypeDescription
namechar*—
pathchar*—
datachar*—

Returns void

Usage

Lua
SetSnakeoilForEntry(name, path, data)

-- always works, by hash
Citizen.InvokeNative(0xa7dd3209, name, path, data)
JavaScript and C#
JavaScript
SetSnakeoilForEntry(name, path, data);

// by hash
Citizen.invokeNative('0xa7dd3209', name, path, data);
C#
Function.Call((Hash)0xa7dd3209, name, path, data);

Sources

Cfx.re native reference

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