ObjectClient

setProjectilesShouldExplodeOnContact

SET_PROJECTILES_SHOULD_EXPLODE_ON_CONTACT0x63ECF581BC70E363

The GTA V native SET_PROJECTILES_SHOULD_EXPLODE_ON_CONTACT of the OBJECT namespace, as LS:MP client scripts call it: the global function setProjectilesShouldExplodeOnContact, in JavaScript and in Lua.

SignatureJavaScript
setProjectilesShouldExplodeOnContact(entity: Entity, p1: any): void
SignatureLua
setProjectilesShouldExplodeOnContact(entity: Entity, p1: any)

Usage

JavaScript
setProjectilesShouldExplodeOnContact(entity, p1);
Lua
setProjectilesShouldExplodeOnContact(entity, p1)

Parameters

ParameterTypeJavaScriptLua
entityEntitynumberinteger
p1Anyanyany

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Object OBJECT
In the game
void SET_PROJECTILES_SHOULD_EXPLODE_ON_CONTACT(Entity entity, Any p1)
Hash
0x63ECF581BC70E363
Introduced
Game build 1365 legacy numbering

Open in the interactive natives reference