SA-MP Forums Archive
Loop gets stopped? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Loop gets stopped? (/showthread.php?tid=632817)



Loop gets stopped? - danielpalade - 19.04.2017

-- DELETED --


Re: Loop gets stopped? - Dignity - 19.04.2017

Did you check crashdetect/nativechecker for any issues occuring with the code?

If your code triggers a runtime error, the rest of the function doesn't keep going. It basically becomes a dead stop.


Re: Loop gets stopped? - danielpalade - 19.04.2017

Quote:
Originally Posted by Dignity
Посмотреть сообщение
Did you check crashdetect/nativechecker for any issues occuring with the code?

If your code triggers a runtime error, the rest of the function doesn't keep going. It basically becomes a dead stop.
Well there's nothing really wrong with the code.. I mean in game I'm getting the messages I'm supposed to and stuff..


Re: Loop gets stopped? - Dignity - 19.04.2017

It doesn't matter if there's nothing wrong or not. I can see 2-3 possibilities of a runtime happening, so there isn't any reason to disregard the suggestion. :P


Re: Loop gets stopped? - danielpalade - 19.04.2017

Quote:
Originally Posted by Dignity
Посмотреть сообщение
It doesn't matter if there's nothing wrong or not. I can see 2-3 possibilities of a runtime happening, so there isn't any reason to disregard the suggestion. :P
Alright holdup, Imma test it.


Re: Loop gets stopped? - danielpalade - 19.04.2017

Quote:
Originally Posted by Dignity
Посмотреть сообщение
It doesn't matter if there's nothing wrong or not. I can see 2-3 possibilities of a runtime happening, so there isn't any reason to disregard the suggestion. :P
Nope. No error at all in the console. I have included nativechecker as my last plugin in the plugins line.


Re: Loop gets stopped? - iLearner - 19.04.2017

Did you use crashdetect plugin? Possibly with -d3 flag.


Re: Loop gets stopped? - danielpalade - 19.04.2017

Fixed it using y_inline.