[DEV Release] [Standalone] WF_Alerts

Was watching Koils twitch and seen his new alerts, (New to me, I don’t watch twitch nor do I watch RP of any content mainly because I just don’t :slightly_smiling_face:)

So with that being said, I liked the style and the way how the alert shows, the looks and such, so I decided to spend about 20-25mins making a quick Alert Script that looks similar to Koils, you can see the video here.

Github: Link

ESX Version of Outlaw Alerts: Link (All credits to @Danny3tb)

Credits:
@Alzar - Allowing me to use his queue system from mythic_notify which allows this script to be what it is. :heart:

I don’t claim nor do I intend to claim this is THE best alerts script out there nor do I intend to claim this code is amazing and it’s all pefect, blah blah blah.
This is a pure development release which may or may not be updated in the future.

21 Likes

this looks amazing is there anyway to use this with esx scripts like mythic notify looks AMAZING!

Just follow the same format like how it shows with the command from the server file but I wouldn’t recommend using this. It plays the notification but will only have one and will over write the old notification unlike mythic notify or pNotify.

That’s because it’s a dev release :slight_smile:
Meaning it’s still in development, the purpose of this release is to give back to the community, maybe they’ll fork the release and do their own updates, the next update will be a queue system.

1 Like

Damn this script made me kinda horny. Great job tho

1 Like

Hi I made this script work with esx_outlawalert, was wondering if i could release it and give credits to you? Thanks.

1 Like

Hey man that’s all good, that was the intention of the release, unfortunately I’ve been busy lately so I couldn’t provide any uppdates, well work on the script actually but yeah go for it, thanks for contributing :slight_smile:

1 Like

Thank-You, just need permission from Jager_Bom (creator of esx_outlawalert) then I might be able to release.

1 Like

Just pushed a new update to the Alerts script, this allows multiple alerts to be on screen at the same time with your own custom designed length, I can’t stress this enough. The Commands in the server side are EXAMPLES, use the examples to understand how it works IE the length, you don’t have to define this in the server.

I’ve included an example for those struggling, I understand it may be a bad example but I’m sick at the moment so I’ve not put full effort into the example but you’ll get the idea.

All credits to @Alzar for allowing me to use his queue system of Mythic Notify, without him I’d still be struggling so all thanks to him.

Wow thanks man! Really good release, currently using and works perfect! +rep

What a pretty design :astonished: can’t wait to try this very soon!

1 Like

Is there a way to move the positioning of the alerts box to somewhere else on the screen, like bottom right?

Yeahp everything can be adjusted to how you want it using the .css in the /html/ folder, I think I might have a bit of the old css code in there but it shouldn’t be hard to find, if I do I’ll push an update to git removing the deprecated stylings.

For some reason, only me can see the notification, my other peers with the job of police can’t see it please help!

Post the snippet of how you’re going about the TriggerClientEvent line

What do you mean, I don’t get it pleaes help me

@Stroudy

1 Like

Whats new on V2?

V2 features database tables, it’s actually incredibly cool but as is youl have to modify it to be esx compatable for the job check. There v2 also features different alert styles. Very easy to work with although it could just be me because I’m using an older version of es_mysql and such but on server start you may have issues with the fetch all.

Stroudy has been incredibly helpful with this release and I’m extremely excited to see more public releases in the future. Great work man!

1 Like

Hey there,

Great release, I started modifying it to push different data depending on what notification is triggered. For example, stolen vehicles will also display the vehicle type stolen etc.
However I am having the issue where the extra data fields are pulling in the alerts they’re not needed for.

Any advice on best way to have it pull different styles with the correct data for the different type of alerts?

See below an example. The gunshot alert is wanting the vehicle data which obviously isn’t needed.

I’d imagine its something to do with the NUI calling to the javascript. While my lua knowledge is pretty decent, I’m lost when I get to the javascript.