This script was based on: [Release][ESX] Advert
Features:
Job ads for Taxi, Cardealer, Mechanic, Real Estate
Lifeinvader ads: For everyone
Darkweb ads: For everyone but the police (configureable)
Loads of configurement for delays, police access, ad prices in the (config.lua) file
Usage:
Type /ad [text] for a lifeinvader ad.
Type /jobad [text] for a job ad
Type /darkad [text] for a darkweb ad
Requirements: https://github.com/ESX-Org/es_extended
Picture:
Download:
NEW in Version 2.0
¤ Cleaned up the script
¤ Added job refreshes
¤ Fixed bugs
¤ Added Config
¤ Added locale
¤ Removed mythic_notify requirement
If you find any bugs or need some help use the FiveM page or create an issue in github.
20/2/22 - Script fixed by Mycroft!
5 Likes
Very nice actually. Gotta keep it expensive so people arenât getting spammed. Definitely gonna use this.
1 Like
anybody have script for ads-master but only specific job, like only biker/mafia/cartel use this ads for /darkad ?
Do I understand correctly that you want only these 4 jobs to be able to use /darkad?
Find this line. (line 54 in client.lua)
else
And change it to
elseif PlayerData.job.name == âbikerâ or PlayerData.job.name == âmafiaâ or PlayerData.job.name == âcartelâ then
2 Likes
Zika
August 16, 2019, 11:39pm
8
hey nice release. but i got acess dained wen i try to make a dark ad and for the jobs too, no one give me acess
1 Like
For darkads - If you are a police officer and you try to use it you get âAccess Deniedâ notification.
For jobads - If you donât have either âtaxi, mechanic or cardealerâ job then you get âAccess Deniedâ.
Hi Trickxqster,
Do you know how to lengthen the duration for esxshowadvancednotification? like the ads will stay for 2-3minutes
Is there any way to change the place of the notification? Iâm getting mad because I didnât find it in the script neither in other onesâŚ
How to allow more extensive text?
Its possible to change the pic of the msg?
thanks for the good job!
No one can use dark ad its saying you donât have password
@Trickxqster Thanks for the mod. Only one thing. The money comes off the players cash if they have the money, if they donât, the ad still gets posted and doesnât remove money.
MrDon3
June 3, 2020, 6:34am
18
Thank you!! Nice script !!!
Hey, is it possible to Trigger the Notification if i ban or warn someone with bwh bans?
hey, it doesenât work on my server.Does it need to be put in a special place in the cfg?
Wrxth
August 4, 2020, 8:54am
21
Iâve noticed that with the esx v1.final you get an error âattempt to call a nil value (field âgetBankâ)â . I just wanted to share this fix with anyone else who was having the error.
Go To Line 119, 140 and Line 161 and Change The Following From
local getbankmoney = xPlayer.getBank()
To
local getbankmoney = xPlayer.getAccount(âbankâ).money
This should fix your problem, if you have any more questions let me know!
2 Likes