RedM Natives

SET_ENTITY_CAN_ONLY_BE_DAMAGED_BY_SCRIPT_PARTICIPANTS

Hash0xFF83AF534156B399
Runtime nameSetEntityCanOnlyBeDamagedByScriptParticipants
NamespaceENTITY
SideClient
NameOfficial
Docs
Since build1207

Signature

void SET_ENTITY_CAN_ONLY_BE_DAMAGED_BY_SCRIPT_PARTICIPANTS(Any p0, Any p1);

Parameters

NameTypeDescription
p0Any—
p1Any—

Returns void

Usage

Lua
SetEntityCanOnlyBeDamagedByScriptParticipants(p0, p1)

-- always works, by hash
Citizen.InvokeNative(0xFF83AF534156B399, p0, p1)
JavaScript and C#
JavaScript
SetEntityCanOnlyBeDamagedByScriptParticipants(p0, p1);

// by hash
Citizen.invokeNative('0xFF83AF534156B399', p0, p1);
C#
Function.Call((Hash)0xFF83AF534156B399, p0, p1);

Sources

alloc8or RDR3 NativeDB · VORPCORE RDR3natives

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