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 SetWeaponsNoAimBlocking for FiveM #2078

Merged
merged 1 commit into from Jul 5, 2023

Conversation

Disquse
Copy link
Contributor

@Disquse Disquse commented Jun 29, 2023

This native is meant to the way for server creators to disable builtin weapons aim blocking mechanic. For non-player peds the SET_PED_ENABLE_WEAPON_BLOCKING native can be used. However, it won't work for local player ped as the logic for this specific case is different. The "weapon blocking" state is synchronized between players. This native could be useful for specific some gamemodes and content creators making custom weapons (used like weapon_digiscanner, weapon_fireextinguisher, etc).

@Disquse Disquse force-pushed the fivem/weapons-aim-blocking branch from b0a3448 to f32dd86 Compare July 2, 2023 13:05
@blattersturm blattersturm merged commit 70bb3cd into citizenfx:master Jul 5, 2023
1 check passed
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

Successfully merging this pull request may close these issues.

None yet

2 participants