ROPE_DRAW_SHADOW_ENABLED
Hash
0xF159A63806BB5BA8Runtime name
RopeDrawShadowEnabledNamespacePHYSICS
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0xF159A63806BB5BA8Signature
void ROPE_DRAW_SHADOW_ENABLED(int* ropeId, BOOL toggle);Parameters
| Name | Type | Description |
|---|---|---|
ropeId | int* | — |
toggle | BOOL | — |
Returns void
Usage
local ropeId = RopeDrawShadowEnabled(toggle)
-- always works, by hash
local ropeId = Citizen.InvokeNative(0xF159A63806BB5BA8, Citizen.PointerValueInt(), toggle)JavaScript and C#
const ropeId = RopeDrawShadowEnabled(toggle);
// by hash
const ropeId = Citizen.invokeNative('0xF159A63806BB5BA8', Citizen.pointerValueInt(), toggle);var ropeId = new OutputArgument();
Function.Call((Hash)0xF159A63806BB5BA8, ropeId, toggle);
// ropeId.GetResult<int>()- Pointer (out) arguments are not passed in Lua/JS: their values are returned after the result, in order.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.