RedM Natives

ALLOW_DAMAGE_EVENTS_FOR_NON_NETWORKED_OBJECTS

Hash0xE2B3B852B537C398
Runtime nameAllowDamageEventsForNonNetworkedObjects
NamespaceOBJECT
SideClient
NameOfficial
Docs
Since build1207

Signature

void ALLOW_DAMAGE_EVENTS_FOR_NON_NETWORKED_OBJECTS(BOOL enabled);

Parameters

NameTypeDescription
enabledBOOL—

Returns void

Usage

Lua
AllowDamageEventsForNonNetworkedObjects(enabled)

-- always works, by hash
Citizen.InvokeNative(0xE2B3B852B537C398, enabled)
JavaScript and C#
JavaScript
AllowDamageEventsForNonNetworkedObjects(enabled);

// by hash
Citizen.invokeNative('0xE2B3B852B537C398', enabled);
C#
Function.Call((Hash)0xE2B3B852B537C398, enabled);

Sources

alloc8or RDR3 NativeDB

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