can anyone help me with a blip of the fire? please
Need more info then that. What one are you running? The OP copy or the edited server side copy i posted.
can anyone help me with the script because the script doesnāt spawn a fire when I do /startfire.
It just says Starting Fire in chat but never does.
The same happens with /startsmoke or /startsmoke 30 30 and /startfire 20 20
The fire script will just randomly spawn in fires all over the map
the updated one spawns one every 30ish min if a player is in a fire skin
Well we donāt use fire peds but EUPs.
then you need to change it to read if a player is on duty as a fire fighter.
The OP one will spawn fires at random. The updated one i posted is based on a player ped model. You can change this to check for a job.
The updated one
In the basic resource i tried adding to be able to set a waypoint to the last random fire call. I sort of got this working to the point that i can set a waypoint to a random fire that appears, but if another one appears and i press the button to set a waypoint i sometimes still get a waypoint to an earlier appeared fire. (probably because of my weird coding as iām new to this language). Hopefully someone can help me out.
What i did is create this function below. What it does is check if the E key is pressed and then sets a waypoint to the location the fire appeared at.
function setWaypoint(x, y)
Citizen.CreateThread(function()
while true do
Citizen.Wait(10)
if IsControlJustPressed(1, 38) then
SetWaypointOff()
SetNewWaypoint(x, y)
end
end
end)
end
i call this function in the ChatAlerts() function after triggering the fire call in the chat using:
setWaypoint(x, y)
If you use the updated fire script it send out a xyz to what ever system you want to use for coords
i have the file but there is no config file so does that mean it is auto set to true so all i need to put it in the server
The config is in the client and server files on the updated one I posted. Config is client side for the OG one.
@ElusionPDX how would i add eup support to this?
add job support for on duty and off duty
How is this script on a 64/128 slotted server?
Sync is mehā¦ but still works
Where would I go to sync the fires across all clients so that they can see the fires started by other people. Other than that, script works great. We can set multiple fires at the same time, but no one other than you can see the fire you started.
how would i be able to change it to job instead of faction? i tried but every time i change it the notification just doesnāt show at all
how does it work
Is it possible you will make, that when fires start the is going a message with coords to fire job number, like when you die there is going signal to ambulance job. Also make the fire damage player, cuz I am didnāt getting any damage when standing inside fire.