What's the command to keep things I changed server say I added arrows and more ...
#5

Quote:
Originally Posted by Mr.Anonymous
Посмотреть сообщение
I think he means that he wants a command that will save every file when he shut down his server.
I believe the same.
If this is what you need, then make a cutom function OnPlayerLogout and inside put the part that saves the data in OnPlayerDisconnect.
pawn Код:
public OnGameModeExit( )
{
    for( new i; i != MAX_PLAYERS; i ++ ) OnPlayerDisconnect( i, 1 );
    return 1;
}

OnPlayerLogout( playerid )
{
    // saving part
    return 1;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)