Aim at a rooftop, press E, and a rope pulls you up to it. This FiveM grapple gun fires from the sniper rifle by default, or from whichever weapons you list, and hooks onto walls, roofs and lamp posts up to 100 metres away. Players can use /grapple instead of the key.
In the config
| Setting | Default |
|---|---|
| Key and command | E, /grapple |
| Weapons that can grapple | Sniper rifle; add any others, or allow every weapon |
| Range | 100 |
| Minimum height | 2 |
| Pull speed | ×1.0 |
| Parachute pose while flying | On |
| Must aim first | Yes |
| Cancel when the player dies | Yes |
| Bone the rope starts from | 57005 (right hand) |
For developers
A server function, CanUseGrapple(src, startCoords, endCoords), lets you add your own checks, for example jobs or no-grapple zones. There’s also an export, CreateHook, and the events onHookCreated and onHookDestroyed.
Standalone, so it runs with ESX, QBCore, Qbox, OxCore or no framework. Protected by Cfx asset escrow; you download it from the Cfx portal. Everything else: documentation.