_ROPE_GET_FORCED_LENGTH
Hash
0x3D69537039F8D824Runtime name
RopeGetForcedLengthNamespacePHYSICS
SideClient
NameCommunity guess
Docs
Since build1207
Signature
float _ROPE_GET_FORCED_LENGTH(int ropeId);Parameters
| Name | Type | Description |
|---|---|---|
ropeId | int | — |
Returns float
Usage
local retval = RopeGetForcedLength(ropeId)
-- always works, by hash
local retval = Citizen.InvokeNative(0x3D69537039F8D824, ropeId, Citizen.ResultAsFloat())JavaScript and C#
const retval = RopeGetForcedLength(ropeId);
// by hash
const retval = Citizen.invokeNative('0x3D69537039F8D824', ropeId, Citizen.returnResultAnyway(), Citizen.resultAsFloat());float retval = Function.Call<float>((Hash)0x3D69537039F8D824, ropeId);- The name is a community guess and may change. If the named call is missing in your client build, use
InvokeNativewith the hash — it always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.