Skip to content

fix(weapon/client): infinite ammo not working on petrolcan and fireextinguisher#47

Open
Cata-a1138 wants to merge 1 commit intoCommunityOx:mainfrom
Cata-a1138:main
Open

fix(weapon/client): infinite ammo not working on petrolcan and fireextinguisher#47
Cata-a1138 wants to merge 1 commit intoCommunityOx:mainfrom
Cata-a1138:main

Conversation

@Cata-a1138
Copy link

It doesn’t work when passing the weaponHash parameter to SetPedInfiniteAmmo.
Leaving weaponHash empty makes the behavior identical to SetPedInfiniteAmmoClip.
I chose to use SetPedInfiniteAmmoClip instead to avoid missing parameter warnings.

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.

1 participant