04.08.2011, 03:43
(
Last edited by Kingunit; 05/08/2011 at 01:53 PM.
)
<fixed>
CMD:restart(playerid, params[]) { SetTimer("Restarting",3000,0); SaveAllServerStats(); // or anything you use to save all stats } public Restarting() { SendRconCommand("gmx"); }
Make an command just like Kush said to create an 'delayed restart':
Code:
CMD:restart(playerid, params[]) { SetTimer("Restarting",3000,0); SaveAllServerStats(); // or anything you use to save all stats } public Restarting() { SendRconCommand("gmx"); } |
I'm having the same problem with my drug saving system.
@Kush, I'm sure he is using the /rcon gmx and not his own command and so am I, so how would we edit it to write our values? EDIT: nevermind, I saw varth said to make a custom /gmx. I am positive that will work instead of using /rcon gmx which corrupts everything. |