SA-MP Forums Archive
What's the command to keep things I changed server say I added arrows and more ... - 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: What's the command to keep things I changed server say I added arrows and more ... (/showthread.php?tid=397314)



What's the command to keep things I changed server say I added arrows and more ... - SssSssSss - 04.12.2012

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


Re: What's the command to keep things I changed server say I added arrows and more ... - Konstantinos - 04.12.2012

I didn't understand you. Can you explain it again, please!


Re: What's the command to keep things I changed server say I added arrows and more ... - SssSssSss - 04.12.2012

I say something new server with a command how I keep it because I shut the server is not saved.


Re: What's the command to keep things I changed server say I added arrows and more ... - Mr.Anonymous - 04.12.2012

I think he means that he wants a command that will save every file when he shut down his server.


Re: What's the command to keep things I changed server say I added arrows and more ... - Konstantinos - 04.12.2012

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;
}



Re: What's the command to keep things I changed server say I added arrows and more ... - SssSssSss - 04.12.2012

i need command for save All I'm in a server


Re: What's the command to keep things I changed server say I added arrows and more ... - Konstantinos - 04.12.2012

I can't understand you. Do you need a command for saving the data of all the online players?


Re: What's the command to keep things I changed server say I added arrows and more ... - SssSssSss - 04.12.2012

In addition to a command server keeps things built at the moment


Re: What's the command to keep things I changed server say I added arrows and more ... - xxxDeathxxx - 04.12.2012

lol, try use /motd [text] with this cmd you can write text wich will be saved


Re: What's the command to keep things I changed server say I added arrows and more ... - SssSssSss - 04.12.2012

I mean when I build white arrow Server how I keep it because I close the server and open it, it suddenly disappears you know?