Pyth3rEx / esx_fireDispatch-Discontiniued

Fire script for RP servers in FiveM
GNU General Public License v3.0
23 stars 14 forks source link

/stopFires not working #10

Open Sythy11 opened 5 years ago

Sythy11 commented 5 years ago

Hi just another issue for you here. When I attempt to use /stopFires i get this error in F8:

SCRIPT ERROR: @esx_FireDispatch/client.lua:88: attempt to index a number value (field 'fires')

Just another thing for you to look at.

Pyth3rEx commented 5 years ago

HELP!!!! HE WANTS TO KILL ME!!!! :P

What version?

Sythy11 commented 5 years ago

Haha, your latest push. It's actually never worked for me.

Pyth3rEx commented 5 years ago

Oh yea.. I know. Please use the latest stable. I didn't have time to look at it in the past 3 weeks (gotta love work right ;) ) and it's broken AF...

Sythy11 commented 5 years ago

Which is the latest stable version?

Pyth3rEx commented 5 years ago

Head to the release tab, version 1.2_f

Sythy11 commented 5 years ago

Doesn't work in that release either. Same error

Pyth3rEx commented 5 years ago

nani???

Pyth3rEx commented 5 years ago

Ok so troubleshooting guide: Please double check your installs again and again till tmr when I get to my PC again lol

Sythy11 commented 5 years ago

I have a temp fix for you. Instead of RemoveScriptFire(scriptData.fires[i])

use

RemoveScriptFire(scriptData.fires)

However it will only remove the spawned fire, not the spreaded fires.

Pyth3rEx commented 5 years ago

Still no idea how to fix that... for now you'll have to use the command restart esx_fireDispatch to restart the script and gt rid of everything.