addRope native returns number instead of array
Opened this issue · 0 comments
xxshady commented
Description of the problem
According to the native docs it should return [number, any]
, but in js it returns number
https://natives.altv.mp/#/0xE832D760399EB220
Reproduction steps
const { x, y, z } = alt.Player.local.pos;
const rope = native.addRope(
x, y, z,
0, 0, 0, 10, 3, 20, 1, 1, false, false, false, 5, false, null
);
alt.log(rope); // number
Expected behaviour
/
Additional context
No response
Operating system
Windows 11
Version
dev/14.0-dev4
Reproduction tested
- I confirm that I have made sure that this issue is also present on the newest dev version