Jump to content

Question[ RESOLVED ]


Kenix

Recommended Posts

No, i've test that with this script

addEventHandler ( "onResourceStop", resourceRoot,  
function () 
        outputServerLog("Hello World") 
end) 

i type /shutdown

i search in log file but i didn't find 'Hello World' :cry:

[2011-12-30 11:56:24] SHUTDOWN: Got shutdown command from Console (No reason specified) 
[2011-12-30 11:56:24] Server stopped! 
[2011-12-30 11:56:24] Stopping resources............. 
[2011-12-30 11:56:24] Closing SQLite3 database 

the server stopped before resources -_-

Link to comment

You not understand me i need save in mysql server.If server shoutdown.

P.S i test with

addEventHandler( "onResourceStop",resourceRoot, 
    function( ) 
        outputDebugString( "Resource stopped" ) 
    end 
) 

[2011-12-30 12:39:57] Server stopped!

[2011-12-30 12:39:57] Stopping resources...

[2011-12-30 12:39:57] INFO: Resource stopped

[2011-12-30 12:39:57] Closing SQLite3 database

But I'm still not sure whether or not to continue.

I need answer YES or NO.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...