[Release] AD Script (+ Customization!)

Doesn’t do anything for me.

3 Likes

yeah does not work. I tested /ad taxi test and nothing

2 Likes

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!

4 Likes

Nice job man, Works great!

1 Like

Screenshots would be nice.

2 Likes

would you make a version using this menu [Release] ActionMenu [1.0.1] (Updated April 2018) so when you typed /ad in chat it opened the menu and you select which advertisement you wanna use.

1 Like

im adding that to mine also aswell as fixing mine :joy:

Great script. but when its invalid it shows uo in everyone’s chat. Is there a way to fix this?

nothing is coming up in chat when i type /ad

2 Likes

Make sure you’re using the latest version.

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

The images are a bit blurry. How would I fix this?

Try putting texture setting on hight in your ingame settings

Great Work keep it up

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)

It does not work and i don’t have a Idea why the discord server does not work for

list off all ads?

20 characters

how can i change it so the ad list is local not global and why are the img not working?

The script works, but the server also spits out “/ad” command not found even though it works, anyway to fix this?

Simple and perfect great script helps improve RP on servers.
No problems at all with it 10/10