11.02.2012, 17:26
Hi, Try:
regards,
LJ
pawn Код:
public SaveData()
{
SendClientMessageToAll(COLOR_RED, "(INFO) Server Data Succesfully Saved");
SendClientMessage(playerid, COLOR_YELLOW, "Player data saved.");
for(new xh = 0; xh < MAX_HOUSES; xh++)
{
saveHouse(xh);
}
SendClientMessage(playerid, COLOR_YELLOW, "House data saved.");
for(new xf = 0; xf < MAX_GROUPS; xf++)
{
saveGroup(xf);
}
SendClientMessage(playerid, COLOR_YELLOW, "Group data saved.");
for(new xf = 0; xf < MAX_BUSINESSES; xf++)
{
saveBusiness(xf);
}
SendClientMessage(playerid, COLOR_YELLOW, "Business data saved.");
for(new xf = 0; xf < MAX_ASSETS; xf++)
{
saveAsset(xf);
}
SendClientMessage(playerid, COLOR_YELLOW, "Server asset data saved.");
return 1;
}
LJ