We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug When i use getWeaponNameFromID(10) or getWeaponNameFromID(11) these always return "Dildo".
getWeaponNameFromID(10) It's the short dildo.
getWeaponNameFromID(11) It's the long dildo.
If I use this function getWeaponIDFromName(getWeaponNameFromID(11)) this will return 10.
To Reproduce Executing client-side command: getWeaponNameFromID(10) Command results: Dildo [string] Executing client-side command: getWeaponNameFromID(11) Command results: Dildo [string] Executing client-side command: getWeaponNameFromID(12) Command results: Vibrator [string] Executing client-side command: getWeaponNameFromID(13) Command results: Vibrator [string]
Weapons having duplicate names is not good.
Expected behavior Should return a different name.
Screenshots Unstated.
MTA Client (please complete the following information): Unstated.
MTA Server (please complete the following information): Unstated.
Additional context From https://bugs.mtasa.com/view.php?id=7968
The text was updated successfully, but these errors were encountered:
@qaisjp Any idea for the new names? or We can keep them as above.
Sorry, something went wrong.
SA-MP names it as dildo, purple dildo, vibrator, silver vibrator. https://wiki.sa-mp.com/wiki/Weapons
I don't know if those are good names I'd have to look in-game.
According to that wiki page it's defined as WEAPON_DILDO and WEAPON_DILDO2 (similar for vibrator).
Yeah sure.
Successfully merging a pull request may close this issue.
Describe the bug
When i use getWeaponNameFromID(10) or getWeaponNameFromID(11) these always return "Dildo".
getWeaponNameFromID(10) It's the short dildo.
getWeaponNameFromID(11) It's the long dildo.
If I use this function getWeaponIDFromName(getWeaponNameFromID(11)) this will return 10.
To Reproduce
Executing client-side command: getWeaponNameFromID(10)
Command results: Dildo [string]
Executing client-side command: getWeaponNameFromID(11)
Command results: Dildo [string]
Executing client-side command: getWeaponNameFromID(12)
Command results: Vibrator [string]
Executing client-side command: getWeaponNameFromID(13)
Command results: Vibrator [string]
Weapons having duplicate names is not good.
Expected behavior
Should return a different name.
Screenshots
Unstated.
MTA Client (please complete the following information):
Unstated.
MTA Server (please complete the following information):
Unstated.
Additional context
From https://bugs.mtasa.com/view.php?id=7968
The text was updated successfully, but these errors were encountered: