BREAK_ENTITY_GLASS
Breaks glass on entity in an area defined by the position, direction and radius parameters. Most parameters are not well documented.
Signature
void BREAK_ENTITY_GLASS(Entity entity, float p1, float p2, float p3, float p4, float p5, float p6, float p7, float p8, Any p9, BOOL p10); // 0x2E648D16F6E308F3 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | entity | Entity |
| 2 | p1 | float |
| 3 | p2 | float |
| 4 | p3 | float |
| 5 | p4 | float |
| 6 | p5 | float |
| 7 | p6 | float |
| 8 | p7 | float |
| 9 | p8 | float |
| 10 | p9 | Any |
| 11 | p10 | BOOL |
Facts
| Name | BREAK_ENTITY_GLASS |
|---|---|
| Hash | 0x2E648D16F6E308F3 |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
Citizen.InvokeNative(0x2E648D16F6E308F3, -- BREAK_ENTITY_GLASS
PlayerPedId(), -- Entity entity
0.0, -- float p1
0.0, -- float p2
0.0, -- float p3
0.0, -- float p4
0.0, -- float p5
0.0, -- float p6
0.0, -- float p7
0.0, -- float p8
0, -- Any p9
false -- BOOL p10
)// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0x2E648D16F6E308F3", // BREAK_ENTITY_GLASS
PlayerPedId(), // Entity entity
0.0, // float p1
0.0, // float p2
0.0, // float p3
0.0, // float p4
0.0, // float p5
0.0, // float p6
0.0, // float p7
0.0, // float p8
0, // Any p9
false // BOOL p10
);Function.Call((Hash)0x2E648D16F6E308F3, // BREAK_ENTITY_GLASS
API.PlayerPedId(), // Entity entity
0.0f, // float p1
0.0f, // float p2
0.0f, // float p3
0.0f, // float p4
0.0f, // float p5
0.0f, // float p6
0.0f, // float p7
0.0f, // float p8
0, // Any p9
false // BOOL p10
);Related PHYSICS natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.