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 the option to lock a stash to a certian item #1782

Closed
wants to merge 1 commit into from

Conversation

Mytic2330
Copy link

If specified in stashes.lua, lock a stash to a certian item or list of items.
Using the canInteract function from ox_target to check if player has the certian item/s in the inventory.

Only implemented the check on client side and can only be set before the script start and not at runtime.

@Mytic2330 Mytic2330 changed the title Add the option to lock a stash to a certian item Add the option to lock a stash to a certian item (resolvec #1781) Aug 24, 2024
@Mytic2330 Mytic2330 changed the title Add the option to lock a stash to a certian item (resolvec #1781) Add the option to lock a stash to a certian item (resolves #1781) Aug 24, 2024
@Mytic2330 Mytic2330 closed this Aug 24, 2024
@Mytic2330 Mytic2330 changed the title Add the option to lock a stash to a certian item (resolves #1781) Add the option to lock a stash to a certian item Aug 24, 2024
@Mytic2330 Mytic2330 reopened this Aug 24, 2024
@thelindat
Copy link
Member

Something with no server security is pointless.
Regardless - #1699

@thelindat thelindat closed this Aug 30, 2024
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.

2 participants