Save money for next respawn
#7

You need to save the players information when the server gets shutdown. If you created a stock function to save the players information, you can call it under the following function (example below):

pawn Код:
public OnGameModeExit()
     {
          foreach(Player, i) // Perform a loop for all players.
          {
               SavePlayerInformation(i); // Save all players' information.
          }
     }
     return 1;
}
Reply


Messages In This Thread
Save money for next respawn - by Superthijs - 01.08.2011, 13:17
Re: Save money for next respawn - by Kitten - 01.08.2011, 13:39
Re: Save money for next respawn - by Superthijs - 01.08.2011, 14:28
Re: Save money for next respawn - by Kitten - 01.08.2011, 14:35
Re: Save money for next respawn - by Superthijs - 01.08.2011, 14:35
Re: Save money for next respawn - by Kitten - 01.08.2011, 14:42
Re: Save money for next respawn - by Scenario - 01.08.2011, 14:45
Re: Save money for next respawn - by Superthijs - 01.08.2011, 14:49
Re: Save money for next respawn - by Scenario - 02.08.2011, 13:49

Forum Jump:


Users browsing this thread: 1 Guest(s)