Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

addRope native returns number instead of array #47

Open
1 task done
xxshady opened this issue Dec 27, 2022 · 0 comments
Open
1 task done

addRope native returns number instead of array #47

xxshady opened this issue Dec 27, 2022 · 0 comments

Comments

@xxshady
Copy link
Contributor

xxshady commented Dec 27, 2022

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
@FabianTerhorst FabianTerhorst transferred this issue from altmp/altv-issues Dec 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant