Only idea I’d love to see right now is ability to have custom notification. As right now it appears under the chat box. Would be nice to be able to edit that to a custom notification function.
Perhaps as a feature… maybe ammo boxes beside the mortar where someone has to walk up to it and press E or something then go bring it to the actual mortar pit. But maybe thats too complicated to set up.
Or howitzer or modern artillery gun that fires!

@_MxFloofy super delayed response idk if you’re still workin on it or not but figured I’d post anyway!
I am still looking to improve all my scripts.
I have been planning to come back to this one at some point and optimize the code a little as this was my first time writing code from scratch.
However, right now I am leaving on Wednesday and will be out of town for the rest of the week, then next week I have finals all week so I probably won’t get around to any of my coding until at least a week and half or more. I also just released a new script (been fighting the forums to get it posted my post keeps getting denied with no message), so I am wanting to get that posted and I have a couple of things I want to add to that once I am past finals.
But when I do come back to this script I would definitely see about adding custom notification options, the ammo thing I feel like it should in theory be something I could do but I would have to model the ammo box and individual ammo prop, so that might not come in the next update if I do look into it.
Then I did make a howitzer prop I intended to use for this script, I just didn’t really know how to implement it as howitzers would obviously have longer range then the mortar so didn’t really know how to properly implement the prop into so I just kept it as a /arty that fires from off map.
Also if you haven’t already you can join the discord as I try to keep that up to date on any updates or things I’m working on.
1 Like
For ammo box prop simply use h4_prop_h4_box_ammo_02a
and no need to have any custom prop for that. Just call it in the script! Saves time and code work.
Any chance to have an update to use, or expose the sound events to be modified? Because playcustomsounds
is many years outdated and really unoptimized as it is written in C#. Perhaps InteractSound
instead?

I’ve never seen it get that high but have seen it kind of high, however yes there is plan to update the script. I’ve just been extremely busy between college and being head dev on a server (and for rn about the only dev doing anything there lol).
I can look into swapping out the sound script when I get a chance, got a lot going on today so doubt I will be able to look into it today.
1 Like
All good I just wanted to mention it for whenever you have time.
Indeed and thats on an empty server where only your script is using playcustomsounds
too! Its just that C# is super unoptimized with overhead in FiveM these days especially.
Cheers!
Highly suggest InteractSound