esx_fireDispatch-Discontiniued icon indicating copy to clipboard operation
esx_fireDispatch-Discontiniued copied to clipboard

/stopFires not working

Open Sythy11 opened this issue 5 years ago • 10 comments

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.

Sythy11 avatar Oct 09 '19 00:10 Sythy11

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

What version?

Pyth3rEx avatar Oct 09 '19 00:10 Pyth3rEx

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

Sythy11 avatar Oct 09 '19 00:10 Sythy11

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...

Pyth3rEx avatar Oct 09 '19 00:10 Pyth3rEx

Which is the latest stable version?

Sythy11 avatar Oct 09 '19 00:10 Sythy11

Head to the release tab, version 1.2_f

Pyth3rEx avatar Oct 09 '19 00:10 Pyth3rEx

Doesn't work in that release either. Same error

Sythy11 avatar Oct 09 '19 00:10 Sythy11

nani???

Pyth3rEx avatar Oct 09 '19 00:10 Pyth3rEx

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

Pyth3rEx avatar Oct 09 '19 00:10 Pyth3rEx

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.

Sythy11 avatar Oct 09 '19 01:10 Sythy11

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.

Pyth3rEx avatar Oct 10 '19 15:10 Pyth3rEx