07.07.2012, 15:38
Ok, This is what happens when you /saveall:
(and a TON more)
and here is my /saveall command.
Код:
[16:46:33] (MySQL) Query: UPDATE players SET Health = '85.000000', Armour = '0.000000', Gamemaster = '6', Cash = '1000', Interior = 0, Skin = 147, Score = '10' WHERE ID = 6 | ResultID: 4 [16:46:33] (MySQL) Query: UPDATE players SET Health = '0.000000', Armour = '0.000000', Gamemaster = '0', Cash = '0', Interior = 0, Skin = 0, Score = '0' WHERE ID = 0 | ResultID: 4 [16:46:33] (MySQL) Query: UPDATE players SET Health = '0.000000', Armour = '0.000000', Gamemaster = '0', Cash = '0', Interior = 0, Skin = 0, Score = '0' WHERE ID = 0 | ResultID: 4 [16:46:33] (MySQL) Query: UPDATE players SET Health = '0.000000', Armour = '0.000000', Gamemaster = '0', Cash = '0', Interior = 0, Skin = 0, Score = '0' WHERE ID = 0 | ResultID: 4 [16:46:33] (MySQL) Query: UPDATE players SET Health = '0.000000', Armour = '0.000000', Gamemaster = '0', Cash = '0', Interior = 0, Skin = 0, Score = '0' WHERE ID = 0 | ResultID: 4 [16:46:33] (MySQL) Query: UPDATE players SET Health = '0.000000', Armour = '0.000000', Gamemaster = '0', Cash = '0', Interior = 0, Skin = 0, Score = '0' WHERE ID = 0 | ResultID: 4 [16:46:33] (MySQL) Query: UPDATE players SET Health = '0.000000', Armour = '0.000000', Gamemaster = '0', Cash = '0', Interior = 0, Skin = 0, Score = '0' WHERE ID = 0 | ResultID: 4 [16:46:33] (MySQL) Query: UPDATE players SET Health = '0.000000', Armour = '0.000000', Gamemaster = '0', Cash = '0', Interior = 0, Skin = 0, Score = '0' WHERE ID = 0 | ResultID: 4 [16:46:33] (MySQL) Query: UPDATE players SET Health = '0.000000', Armour = '0.000000', Gamemaster = '0', Cash = '0', Interior = 0, Skin = 0, Score = '0' WHERE ID = 0 | ResultID: 4 [16:46:33] (MySQL) Query: UPDATE players SET Health = '0.000000', Armour = '0.000000', Gamemaster = '0', Cash = '0', Interior = 0, Skin = 0, Score = '0' WHERE ID = 0 | ResultID: 4 [16:46:33] (MySQL) Query: UPDATE players SET Health = '0.000000', Armour = '0.000000', Gamemaster = '0', Cash = '0', Interior = 0, Skin = 0, Score = '0' WHERE ID = 0 | ResultID: 4 [16:46:33] (MySQL) Query: UPDATE players SET Health = '0.000000', Armour = '0.000000', Gamemaster = '0', Cash = '0', Interior = 0, Skin = 0, Score = '0' WHERE ID = 0 | ResultID: 4 [16:46:33] (MySQL) Query: UPDATE players SET Health = '0.000000', Armour = '0.000000', Gamemaster = '0', Cash = '0', Interior = 0, Skin = 0, Score = '0' WHERE ID = 0 | ResultID: 4 [16:46:33] (MySQL) Query: UPDATE players SET Health = '0.000000', Armour = '0.000000', Gamemaster = '0', Cash = '0', Interior = 0, Skin = 0, Score = '0' WHERE ID = 0 | ResultID: 4 [16:46:33] (MySQL) Query: UPDATE players SET Health = '0.000000', Armour = '0.000000', Gamemaster = '0', Cash = '0', Interior = 0, Skin = 0, Score = '0' WHERE ID = 0 | ResultID: 4 [16:46:33] (MySQL) Query: UPDATE players SET Health = '0.000000', Armour = '0.000000', Gamemaster = '0', Cash = '0', Interior = 0, Skin = 0, Score = '0' WHERE ID = 0 | ResultID: 4 [16:46:33] (MySQL) Query: UPDATE players SET Health = '0.000000', Armour = '0.000000', Gamemaster = '0', Cash = '0', Interior = 0, Skin = 0, Score = '0' WHERE ID = 0 | ResultID: 4 [16:46:33] (MySQL) Query: UPDATE players SET Health = '0.000000', Armour = '0.000000', Gamemaster = '0', Cash = '0', Interior = 0, Skin = 0, Score = '0' WHERE ID = 0 | ResultID: 4 [16:46:33] (MySQL) Query: UPDATE players SET Health = '0.000000', Armour = '0.000000', Gamemaster = '0', Cash = '0', Interior = 0, Skin = 0, Score = '0' WHERE ID = 0 | ResultID: 4 [16:46:33] (MySQL) Query: UPDATE players SET Health = '0.000000', Armour = '0.000000', Gamemaster = '0', Cash = '0', Interior = 0, Skin = 0, Score = '0' WHERE ID = 0 | ResultID: 4 [16:46:33] (MySQL) Query: UPDATE players SET Health = '0.000000', Armour = '0.000000', Gamemaster = '0', Cash = '0', Interior = 0, Skin = 0, Score = '0' WHERE ID = 0 | ResultID: 4 [16:46:33] (MySQL) Query: UPDATE players SET Health = '0.000000', Armour = '0.000000', Gamemaster = '0', Cash = '0', Interior = 0, Skin = 0, Score = '0' WHERE ID = 0 | ResultID: 4 [16:46:33] (MySQL) Query: UPDATE players SET Health = '0.000000', Armour = '0.000000', Gamemaster = '0', Cash = '0', Interior = 0, Skin = 0, Score = '0' WHERE ID = 0 | ResultID: 4 [16:46:33] (MySQL) Query: UPDATE players SET Health = '0.000000', Armour = '0.000000', Gamemaster = '0', Cash = '0', Interior = 0, Skin = 0, Score = '0' WHERE ID = 0 | ResultID: 4 [16:46:33] (MySQL) Query: UPDATE players SET Health = '0.000000', Armour = '0.000000', Gamemaster = '0', Cash = '0', Interior = 0, Skin = 0, Score = '0' WHERE ID = 0 | ResultID: 4 [16:46:33] (MySQL) Query: UPDATE players SET Health = '0.000000', Armour = '0.000000', Gamemaster = '0', Cash = '0', Interior = 0, Skin = 0, Score = '0' WHERE ID = 0 | ResultID: 4 [16:46:33] (MySQL) Query: UPDATE players SET Health = '0.000000', Armour = '0.000000', Gamemaster = '0', Cash = '0', Interior = 0, Skin = 0, Score = '0' WHERE ID = 0 | ResultID: 4 [16:46:33] (MySQL) Query: UPDATE players SET Health = '0.000000', Armour = '0.000000', Gamemaster = '0', Cash = '0', Interior = 0, Skin = 0, Score = '0' WHERE ID = 0 | ResultID: 4 [16:46:33] (MySQL) Query: UPDATE players SET Health = '0.000000', Armour = '0.000000', Gamemaster = '0', Cash = '0', Interior = 0, Skin = 0, Score = '0' WHERE ID = 0 | ResultID: 4 [16:46:33] (MySQL) Query: UPDATE players SET Health = '0.000000', Armour = '0.000000', Gamemaster = '0', Cash = '0', Interior = 0, Skin = 0, Score = '0' WHERE ID = 0 | ResultID: 4 [16:46:33] (MySQL) Query: UPDATE players SET Health = '0.000000', Armour = '0.000000', Gamemaster = '0', Cash = '0', Interior = 0, Skin = 0, Score = '0' WHERE ID = 0 | ResultID: 4 [16:46:33] (MySQL) Query: UPDATE players SET Health = '0.000000', Armour = '0.000000', Gamemaster = '0', Cash = '0', Interior = 0, Skin = 0, Score = '0' WHERE ID = 0 | ResultID: 4 [16:46:33] (MySQL) Query: UPDATE players SET Health = '0.000000', Armour = '0.000000', Gamemaster = '0', Cash = '0', Interior = 0, Skin = 0, Score = '0' WHERE ID = 0 | ResultID: 4 [16:46:33] (MySQL) Query: UPDATE players SET Health = '0.000000', Armour = '0.000000', Gamemaster = '0', Cash = '0', Interior = 0, Skin = 0, Score = '0' WHERE ID = 0 | ResultID: 4 [16:46:33] (MySQL) Query: UPDATE players SET Health = '0.000000', Armour = '0.000000', Gamemaster = '0', Cash = '0', Interior = 0, Skin = 0, Score = '0' WHERE ID = 0 | ResultID: 4 [16:46:33] (MySQL) Query: UPDATE players SET Health = '0.000000', Armour = '0.000000', Gamemaster = '0', Cash = '0', Interior = 0, Skin = 0, Score = '0' WHERE ID = 0 | ResultID: 4 [16:46:33] (MySQL) Query: UPDATE players SET Health = '0.000000', Armour = '0.000000', Gamemaster = '0', Cash = '0', Interior = 0, Skin = 0, Score = '0' WHERE ID = 0 | ResultID: 4 [16:46:33] (MySQL) Query: UPDATE players SET Health = '0.000000', Armour = '0.000000', Gamemaster = '0', Cash = '0', Interior = 0, Skin = 0, Score = '0' WHERE ID = 0 | ResultID: 4 [16:46:33] (MySQL) Query: UPDATE players SET Health = '0.000000', Armour = '0.000000', Gamemaster = '0', Cash = '0', Interior = 0, Skin = 0, Score = '0' WHERE ID = 0 | ResultID: 4 [16:46:33] (MySQL) Query: UPDATE players SET Health = '0.000000', Armour = '0.000000', Gamemaster = '0', Cash = '0', Interior = 0, Skin = 0, Score = '0' WHERE ID = 0 | ResultID: 4 [16:46:33] (MySQL) Query: UPDATE players SET Health = '0.000000', Armour = '0.000000', Gamemaster = '0', Cash = '0', Interior = 0, Skin = 0, Score = '0' WHERE ID = 0 | ResultID: 4 [16:46:33] (MySQL) Query: UPDATE players SET Health = '0.000000', Armour = '0.000000', Gamemaster = '0', Cash = '0', Interior = 0, Skin = 0, Score = '0' WHERE ID = 0 | ResultID: 4 [16:46:33] (MySQL) Query: UPDATE players SET Health = '0.000000', Armour = '0.000000', Gamemaster = '0', Cash = '0', Interior = 0, Skin = 0, Score = '0' WHERE ID = 0 | ResultID: 4 [16:46:33] (MySQL) Query: UPDATE players SET Health = '0.000000', Armour = '0.000000', Gamemaster = '0', Cash = '0', Interior = 0, Skin = 0, Score = '0' WHERE ID = 0 | ResultID: 4 [16:46:33] (MySQL) Query: UPDATE players SET Health = '0.000000', Armour = '0.000000', Gamemaster = '0', Cash = '0', Interior = 0, Skin = 0, Score = '0' WHERE ID = 0 | ResultID: 4 [16:46:33] (MySQL) Query: UPDATE players SET Health = '0.000000', Armour = '0.000000', Gamemaster = '0', Cash = '0', Interior = 0, Skin = 0, Score = '0' WHERE ID = 0 | ResultID: 4 [16:46:33] (MySQL) Query: UPDATE players SET Health = '0.000000', Armour = '0.000000', Gamemaster = '0', Cash = '0', Interior = 0, Skin = 0, Score = '0' WHERE ID = 0 | ResultID: 4 [16:46:33] (MySQL) Query: UPDATE players SET Health = '0.000000', Armour = '0.000000', Gamemaster = '0', Cash = '0', Interior = 0, Skin = 0, Score = '0' WHERE ID = 0 | ResultID: 4 [16:46:33] (MySQL) Query: UPDATE players SET Health = '0.000000', Armour = '0.000000', Gamemaster = '0', Cash = '0', Interior = 0, Skin = 0, Score = '0' WHERE ID = 0 | ResultID: 4 [16:46:33] (MySQL) Query: UPDATE players SET Health = '0.000000', Armour = '0.000000', Gamemaster = '0', Cash = '0', Interior = 0, Skin = 0, Score = '0' WHERE ID = 0 | ResultID: 4 [16:46:33] (MySQL) Query: UPDATE players SET Health = '0.000000', Armour = '0.000000', Gamemaster = '0', Cash = '0', Interior = 0, Skin = 0, Score = '0' WHERE ID = 0 | ResultID: 4 [16:46:33] (MySQL) Query: UPDATE players SET Health = '0.000000', Armour = '0.000000', Gamemaster = '0', Cash = '0', Interior = 0, Skin = 0, Score = '0' WHERE ID = 0 | ResultID: 4 [16:46:33] (MySQL) Query: UPDATE players SET Health = '0.000000', Armour = '0.000000', Gamemaster = '0', Cash = '0', Interior = 0, Skin = 0, Score = '0' WHERE ID = 0 | ResultID: 4 [16:46:33] (MySQL) Query: UPDATE players SET Health = '0.000000', Armour = '0.000000', Gamemaster = '0', Cash = '0', Interior = 0, Skin = 0, Score = '0' WHERE ID = 0 | ResultID: 4 [16:46:33] (MySQL) Query: UPDATE players SET Health = '0.000000', Armour = '0.000000', Gamemaster = '0', Cash = '0', Interior = 0, Skin = 0, Score = '0' WHERE ID = 0 | ResultID: 4 [16:46:33] (MySQL) Query: UPDATE players SET Health = '0.000000', Armour = '0.000000', Gamemaster = '0', Cash = '0', Interior = 0, Skin = 0, Score = '0' WHERE ID = 0 | ResultID: 4 [16:46:33] (MySQL) Query: UPDATE players SET Health = '0.000000', Armour = '0.000000', Gamemaster = '0', Cash = '0', Interior = 0, Skin = 0, Score = '0' WHERE ID = 0 | ResultID: 4 [16:46:33] (MySQL) Query: UPDATE players SET Health = '0.000000', Armour = '0.000000', Gamemaster = '0', Cash = '0', Interior = 0, Skin = 0, Score = '0' WHERE ID = 0 | ResultID: 4 [16:46:33] (MySQL) Query: UPDATE players SET Health = '0.000000', Armour = '0.000000', Gamemaster = '0', Cash = '0', Interior = 0, Skin = 0, Score = '0' WHERE ID = 0 | ResultID: 4 [16:46:33] (MySQL) Query: UPDATE players SET Health = '0.000000', Armour = '0.000000', Gamemaster = '0', Cash = '0', Interior = 0, Skin = 0, Score = '0' WHERE ID = 0 | ResultID: 4 [16:46:33] (MySQL) Query: UPDATE players SET Health = '0.000000', Armour = '0.000000', Gamemaster = '0', Cash = '0', Interior = 0, Skin = 0, Score = '0' WHERE ID = 0 | ResultID: 4 [16:46:33] (MySQL) Query: UPDATE players SET Health = '0.000000', Armour = '0.000000', Gamemaster = '0', Cash = '0', Interior = 0, Skin = 0, Score = '0' WHERE ID = 0 | ResultID: 4 [16:46:33] (MySQL) Query: UPDATE players SET Health = '0.000000', Armour = '0.000000', Gamemaster = '0', Cash = '0', Interior = 0, Skin = 0, Score = '0' WHERE ID = 0 | ResultID: 4 [16:46:33] (MySQL) Query: UPDATE players SET Health = '0.000000', Armour = '0.000000', Gamemaster = '0', Cash = '0', Interior = 0, Skin = 0, Score = '0' WHERE ID = 0 | ResultID: 4 [16:46:33] (MySQL) Query: UPDATE players SET Health = '0.000000', Armour = '0.000000', Gamemaster = '0', Cash = '0', Interior = 0, Skin = 0, Score = '0' WHERE ID = 0 | ResultID: 4 [16:46:33] (MySQL) Query: UPDATE players SET Health = '0.000000', Armour = '0.000000', Gamemaster = '0', Cash = '0', Interior = 0, Skin = 0, Score = '0' WHERE ID = 0 | ResultID: 4 [16:46:33] (MySQL) Query: UPDATE players SET Health = '0.000000', Armour = '0.000000', Gamemaster = '0', Cash = '0', Interior = 0, Skin = 0, Score = '0' WHERE ID = 0 | ResultID: 4
and here is my /saveall command.
pawn Код:
CMD:saveall(playerid, params[])
{
new string[128];
for(new i; i < MAX_PLAYERS; i++)
{
savePlayer(i);
}
format(string, sizeof(string), "All player stats have been saved!");
SendClientMessageToAll(COLOR_YELLOW, string);
return 1;
}