[ESX] [QBCore] [FREE] Business Advertisement Menu Using OxLib

Business Advertisement Resource for Specific Jobs

This resource simplifies the process of sending business advertisements. Simple First release I put together for my server and decide to share it with others.

Key Features of this Resource:

  1. Job-Specific Access: Only jobs that you specify in the config.lua file can access and use this advertisement menu.
  2. Flexible Display Time: You can choose the display duration for the advertisement from a set of options. By default, the choices are 5 seconds, 10 seconds, and 15 seconds. You have the flexibility to modify these durations in the config.lua file.
  3. Variable Pricing: Each display time option comes with its own price. Shorter durations are more affordable, while longer durations are relatively more expensive.
  4. Customizable Ad Layout: Business owners have the freedom to design their advertisements according to their preferences.
  5. Discord Embed: You can add a webhook which will send an embed with the advertisement information. This was only added for the case someone post something they shouldn’t and you would like to know who it was.

To use the menu just make sure you have a job that’s in the config list and do the command /jobad

Input Menu Preview

Feel free to explore and utilize this resource to enhance your server’s advertising capabilities. You can access the resource on GitHub here.

Special thanks to @Linden for providing OX resources that benefit the entire community. Your contributions are highly appreciated.

| Code is accessible | Yes
| Subscription-based | No
| Lines (approximately) | 116
| Requirements | ESX or QBCore and Ox_lib
| Support | Yes

14 Likes

Should be cool to add the option to upload your logo business

3 Likes

looks awesome!

1 Like

Update : Added the option for it work with QBCore or ESX

1 Like

This is awesome! :raised_hands:

2 Likes

This has been a relief to server staff, so they don’t have to post announcements for the community anymore! The look also matches the rest of our server. Great Work!

1 Like

Hello, im having this error! ESX
Error parsing script @GoatRico_Advertisement/server/server.lua in resource GoatRico_Advertisement: @GoatRico_Advertisement/server/server.lua:120: ‘end’ expected (to close ‘function’ at line 33) near

1 Like

Redownload server.lua I had forgot a end

1 Like

Great script that some would sell for a certain amount, but this gentleman does it for free and also gives help and support, thank you boss :wink:

2 Likes

Hello, having this error when I try to start this resource. Qb core.
SCRIPT ERROR: @GoatRico_Advertisement/server/server.lua:4: attempt to index a nil value (global ‘Config’)
Any help would be appreciated!

Your missing a } at line 19 in the config.lua

Thanks for responding so quickly. I dont understand where it should it be after ‘ammunation’? Here’s a pic of the config.

Disregard my last comment I read it to fast lol. It was saying that ammunition had double ‘’ but looking at your recent config it should work.

No worries. Unfortunately im still getting this error using that config.lua.

Send your config, I’ll test it

config.lua (978 Bytes)

possible to add from what grade police can send it?

Any luck with this?

can you add QBOX support too pls

If I can get more suggestions ill do a V2!