Skip to content

Conversation

@Sloosi0502
Copy link

Description

Added feature to check if an item or an account does exist.

Motivation

Troubleshooting or error catching

Implementation Details

function

Usage Example

if ESX.DoesItemExist(item) then
    xPlayer.addInventoryItem(item, 1)
end

if ESX.DoesAccountExist(account) then
    xPlayer.addAccountMoney(account, 1)
end

@CLAassistant
Copy link

CLAassistant commented Dec 3, 2025

CLA assistant check
All committers have signed the CLA.

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