ropeDrawShadowEnabled
ROPE_DRAW_SHADOW_ENABLED0xF159A63806BB5BA8The GTA V native ROPE_DRAW_SHADOW_ENABLED of the PHYSICS namespace, as LS:MP client scripts call it: the global function ropeDrawShadowEnabled, in JavaScript and in Lua.
ropeDrawShadowEnabled(ropeId: number, toggle: boolean): voidropeDrawShadowEnabled(ropeId: integer, toggle: boolean)⚠
Known issue
The value of ropeId does not reach the game yet: LS:MP currently treats this pointer as an output, so the game receives an empty value instead of yours.
Usage
JavaScript
ropeDrawShadowEnabled(ropeId, toggle);Lua
ropeDrawShadowEnabled(ropeId, toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ropeId | int | number | integer |
toggle | BOOL | boolean | boolean |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Physics PHYSICS
- In the game
void ROPE_DRAW_SHADOW_ENABLED(int* ropeId, BOOL toggle)- Hash
0xF159A63806BB5BA8