Can you please send me a link?
The one form 6th of feb?
Very first post…
First off love your script running into a small issue not sure if it something I am doing wrong, but I am running in to a sync issues with the fires testing it with one other person and when we arrive to the spawned fire I can see the fire but they cant . Not sure if I forgot uncomment something in the server side file. Thanks for your work any help would be appreciated
Its is a normal thing as the fires are client side. Fivem changed the natives and how they handle the fires a while back and the system has never been the same.
Love the script it’s has so much potential going for this! On a quick one do you think it be possible to code it that it sets players cars on fire randomly so this way they be player interaction?
I Have been working on this with linking it to engine damage so that when your engine takes to much damage it has a change of catching on fire. Only thing is the fire size is WAY to big for a engine fire.
Im using the edits that @ElusionPDX made and was wondering if i want it to work of a job role how would i go about that? Im currently using the esx_firejob script so it gets my job set to “fire” do i need to replace this local FireModels = {[GetHashKey(“S_M_Y_Fireman_01”)] = true,} in the client.lua
Or can i use the original and use the notify to get the notifications?
Yes you would need to change its skin check to a job onduty check. Maybe with the esx onduty script.
What if I skipped that part and used the original with ur alert script? Also it keeps telling me it cant load the cop alert when I start it up.
Add it to the fire resource. Andbif youbuse op one it will start a fire every 20ish min perc client time no matter if a fireman is on or not. And it wont work with the notys
Some updates to the fire system
Maybe we can have a look together one day next week as currently away from PC
Is there any way to restrict to who is able to start these fires, not good putting this command in normal players hands.
Sure is.
If you are using the release from the OP post you can commit out the lines for the command so that it only does a random fire every x min.
If you using my updates those lines have already been removed only has /cbomb for car bombs.
Error parsing script @firescript/server.lua in resource firescript: @firescript/server.lua:91: unexpected symbol near ‘]’
end
--[[ if cmd == "/fireh56elp" then
TriggerClientEvent("chatMessage", p, "FIRE ", {255, 0, 0}, "You can start a big fire by typing /fire, and you can also start a single fire by pressing the home key! /cbomb blows up the last car you entered and starts a big fire around it!")
CancelEvent()
end]]]
PS: Even though I am on duty and dressed in the uniform (s_m_y_fireman_01), the fire does not start! He says though: [FIRE] Random fire starts …
[FIRE] Forget it, no firefighters.
But there is no fire!
Make sure that skin is set in the client as the skin to look for. I cant remember what ones i had set when i posted the update
Was anyone able to get this set for a job rather than the ped for esx? I tried the edits above correctly (well I think I did ) lol… but it keeps ending telling me no fire fighters are available. I am using Chips firejob I checked the database and the client and server fo the job it is set to “fire” . Any Help on this would be appreciated and as always thanks for all the assistance client.lua (24.8 KB)
the script doesnt work, i type in /startfire 10 10 it says “starting fire” but doesnt do anything, please help
Need more info then that. What one are you running? The OP copy or the edited server side copy i posted. Any errors on the server side or client side in F8?