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

Add getWeaponName & getWeaponID for custom weapons #2874

Open
1 task done
bum8hj opened this issue Jan 16, 2023 · 1 comment
Open
1 task done

Add getWeaponName & getWeaponID for custom weapons #2874

bum8hj opened this issue Jan 16, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@bum8hj
Copy link
Contributor

bum8hj commented Jan 16, 2023

Is your feature request related to a problem? Please describe.

AFAIK, there is currently no way of getting the name or ID of a custom weapon unless you store the name in a variable upon creating the weapon.

Describe the solution you'd like

Add 2 new client-side functions getWeaponName(weapon) and getWeaponID(weapon)

Describe alternatives you've considered

No response

Additional context

No response

Security Policy

  • I have read and understood the Security Policy and this issue is not about a cheat or security vulnerability.
@bum8hj bum8hj added the enhancement New feature or request label Jan 16, 2023
@Nico8340
Copy link
Contributor

How do you want to get the name of the custom weapon? You cannot specifically create custom weapons, only with your own scripts. In my opinion, this issue makes no sense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants