I’ve seen many “Taxi Advert” or “Los Santos Transit Advert” showing up in here for the past few weeks, so i decided to work on a script that would compile all adverts and even more in one resource. In this script you’ll be able to MANAGE EVERY AD EASILY and even create your own with custom logos. Instructions for all operation are provided in the README.txt. ADs are sent via notifications using custom pictures!
Command:
/ad <AdType> <Message>
For more scripts, beta releases and more join my Discord at: http://discord.me/drwyatt
I’ll update this post every update with changelogs and links for download.
* Fixed the not booting glitch! (During the setup of this pack i ended up moving
an esssential part of the script, i apologize to everyone but it is now fixed.
If you face any more problems, drop them down at the comments or at my
linked Discord. Again, sorry for any inconveniences and hope you enjoy!)
Thanks you @FAXES and @DementedDude for relaying this problem to me, it has been fixed on the latest update! If you face any other problems, or require assistance to setup or use this script feel free to send me Private Messages either here or in my Discord or just drop comments!
turns out that for some reason when i was transfeering them thru filezilla it failed to transfer the stream folder - thanks for the response anyway @JakeWyatt
how do i get it to make the message box appear again? like i know the code but i don’t know where to place it
RegisterNetEvent("store")
AddEventHandler("store",function()
DisplayOnscreenKeyboard(false, "FMMC_KEY_TIP8", "", "", "", "", "", 20)
local input = true
Citizen.CreateThread(function()
while input do
if input == true then
HideHudAndRadarThisFrame()
if UpdateOnscreenKeyboard() == 3 then
input = false
elseif UpdateOnscreenKeyboard() == 1 then
local inputText = GetOnscreenKeyboardResult()
if string.len(inputText) > 0 then
TriggerServerEvent('SyncTrafficAlert', inputText)
input = false
else
DisplayOnscreenKeyboard(false, "FMMC_KEY_TIP8", "", "", "", "", "", 20)
end
elseif UpdateOnscreenKeyboard() == 2 then
input = false
end
end
Citizen.Wait(0)
end
end)
end)