Skip to content

getRopeFixedNode

Shared

Returns which node of the rope is pinned.

Syntax

int|false getRopeFixedNode(rope theRope)

Arguments

theRoperope

Managed rope element.

Returns

A node index from 0 through 30, or false for an invalid rope.

Ownership and lifecycle

A rope belongs to the resource that created it. GTA has eight native rope slots, so Neon leases them to the logical ropes that need one; a rope without a lease still exists but is not natively simulated at that moment. Every native type except swat requires a valid physical holder.

Where this comes from

RELATED NEON APIS

Continue exploring

Read the system guide →