Skip to content

Implement player zone validation for shop purchases#102

Closed
voidvalue-dev wants to merge 1 commit intoesx-framework:devfrom
voidvalue-dev:patch-1
Closed

Implement player zone validation for shop purchases#102
voidvalue-dev wants to merge 1 commit intoesx-framework:devfrom
voidvalue-dev:patch-1

Conversation

@voidvalue-dev
Copy link

Distance validation when purchasing something in esx shops

image

Added a function to check if the player is within a specified zone before allowing item purchases.

Signed-off-by: cesarmr-github <167689141+cesarmr-github@users.noreply.github.com>
@voidvalue-dev voidvalue-dev changed the base branch from main to dev November 25, 2025 21:39
@simpleC0de simpleC0de self-requested a review January 23, 2026 17:15
Copy link

@simpleC0de simpleC0de left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Move config validation before native calls (avoid unnecessary work)
  2. Add ped existence check

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