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 allocator to weapons #3959

Open
1 task done
lynconsix opened this issue Jan 15, 2025 · 3 comments
Open
1 task done

Add allocator to weapons #3959

lynconsix opened this issue Jan 15, 2025 · 3 comments
Labels
enhancement New feature or request

Comments

@lynconsix
Copy link

lynconsix commented Jan 15, 2025

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

Recently added damageable objects, would also be great for weapons

Describe the solution you'd like

engineRequestModel("weapon", parentId or nil)

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.
@lynconsix lynconsix added the enhancement New feature or request label Jan 15, 2025
@Fernando-A-Rocha
Copy link
Contributor

But then what functions would you be able to use with these allocated weapon IDs?

@Xenius97
Copy link
Contributor

Xenius97 commented Jan 17, 2025

https://wiki.multitheftauto.com/wiki/SetWeaponRenderEnabled
++ replace
++ pAttach

@CArg22
Copy link
Contributor

CArg22 commented Jan 19, 2025

Is it possible to use https://wiki.multitheftauto.com/wiki/FireWeapon and disable weapon rendering to make custom weapons? ideally "firePlayerWeapon" could be added and related functions to reimplement weapons.

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

4 participants