PtokaX forum

Development Section => Your Developing Problems => Topic started by: Shurlock on 05 July, 2005, 17:15:26

Title: OnExit (??)
Post by: Shurlock on 05 July, 2005, 17:15:26
It may sound a bit stupid, but....
in which situations shoud a function OnExit() be executed?

Should the function also react to the client command !restartscripts ?
(Unknown client command are being sent to the hub)

I am asking this because for some reason I am not able to find the table-files that should have been saved.

Thanks in advance.
Title:
Post by: Dessamator on 05 July, 2005, 18:06:21
Yes, onexit is executed whenever a script is stopped, that includes !restartscripts .