Skip to content

haitham1337/qb-ealerts

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

qb-ealerts

QBCore Emergency Alerts Email

A basic script that allows Admins to send an Emergency Email to everyone in the city, Is great for incoming Tsunami and many other possibilities.

Command: /ealerts (Max characters 255)

/ealertstsunami (Send's TSUNAMI WARNING eMail to Everyone)

Credits: Google, Jay

Please add following to qb-weathersync

qb-weathersync/client.lua/line36

RegisterNetEvent('qb-weathersync:client:TsunamiAlert', function()
	disable = true
	CreateThread(function()
		while disable do
			SetRainLevel(0.5)
			SetWeatherTypePersist('THUNDER')
			SetWeatherTypeNow('THUNDER')
			SetWeatherTypeNowPersist('THUNDER')
            Wait(5000)
		end
	end)
end)

About

QBCore Emergency Alerts Email

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Lua 100.0%