Skip to content

Conversation

@Andyyy7666
Copy link

Business will need to be added to data/shops.lua, in the case of NDCore it will remove the money from the business account, other bridges can utilize this aswell.

Example:

tequilala = {
    name = 'TEQUI-LA-LA',
    groups = {['tequilala'] = 0},
    business = "tequilala",
    inventory = {
        { name = 'tequila', price = 20 },
    }
}

Signed-off-by: Andy <86536434+Andyyy7666@users.noreply.github.com>
Signed-off-by: Andy <86536434+Andyyy7666@users.noreply.github.com>
Signed-off-by: Andy <86536434+Andyyy7666@users.noreply.github.com>
@SSnowly
Copy link

SSnowly commented Dec 19, 2025

seems good, tho idk about only having the nd one at the start, probably adding the esx and qbox equivalent to that function aswell would be great so no main code has to be edited.

@Andyyy7666
Copy link
Author

seems good, tho idk about only having the nd one at the start, probably adding the esx and qbox equivalent to that function aswell would be great so no main code has to be edited.

It checks for server.removeBusinessMoney and server.getBusinessMoney so if they're not in the bridge it will function the same as before, if anyone wants to add those for qbox & esx they can, I haven't used them much myself so I don't really know the equivalent.

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