ropeForceLength
ROPE_FORCE_LENGTH0xD009F759A723DB1BThe GTA V native ROPE_FORCE_LENGTH of the PHYSICS namespace, as LS:MP client scripts call it: the global function ropeForceLength, in JavaScript and in Lua.
ropeForceLength(ropeId: number, length: number): voidropeForceLength(ropeId: integer, length: number)Usage
JavaScript
ropeForceLength(ropeId, length);Lua
ropeForceLength(ropeId, length)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ropeId | int | number | integer |
length | float | number | number |
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.
Forces a rope to a certain length.
Reference
- Namespace
- Physics PHYSICS
- In the game
void ROPE_FORCE_LENGTH(int ropeId, float length)- Hash
0xD009F759A723DB1B