loadRopeData
LOAD_ROPE_DATA0xCBB203C04D1ABD27The GTA V native LOAD_ROPE_DATA of the PHYSICS namespace, as LS:MP client scripts call it: the global function loadRopeData, in JavaScript and in Lua.
loadRopeData(ropeId: number, rope_preset: string): voidloadRopeData(ropeId: integer, rope_preset: string)Usage
JavaScript
loadRopeData(ropeId, rope_preset);Lua
loadRopeData(ropeId, rope_preset)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ropeId | int | number | integer |
rope_preset | string | string | string |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Rope presets can be found in the gamefiles. One example is "ropeFamily3", it is NOT a hash but rather a string.
Reference
- Namespace
- Physics PHYSICS
- In the game
void LOAD_ROPE_DATA(int ropeId, const char* rope_preset)- Hash
0xCBB203C04D1ABD27