samedi 16 août 2014

Help please!!









I added this "for save server" and it gives the errors

Quote:








// New Server Saves



forward SaveServer1(); // Characters

public SaveServer1()

{

foreach(Player, i)

{

if(IsPlayerLoggedIn(i))

{

SaveChar(i);

}

return 1;

}

forward SaveServer2(); // Garages & Motds & Map Icons

public SaveServer2()

{

SaveGarages();

SaveMOTDS();

SaveMapIcons();

return 1;

}

forward SaveServer3(); // Factions & Points & Arrest Point

public SaveServer3()

{

SaveFactions();

SavePoints();

SaveArrestPoint();

return 1;

}

forward SaveServer4(); // Families & Gates

public SaveServer4()

{

SaveFamilies();

SaveGates();

SaveHouses();

return 1;

}

forward SaveServer5(); // Doors & Drugs

public SaveServer5()

{

SaveDoors();

SaveDrugs();

SaveBiz();

return 1;

}



forward SaveServer6(); // Houses

public SaveServer6()

{

SaveHouses();

return 1;

}

forward SaveServer7(); // Businesses

public SaveServer7()

{

SaveBiz();

return 1;

}





forward SaveServer();

public SaveServer()

{

foreach(Player, i)

{

if(IsPlayerLoggedIn(i))

{

SaveChar(i);

}

}

//SaveFactions();

SaveGarages();

//SaveFamilies();

SavePoints();

// SaveBiz();

// SaveHouses();

// SaveDoors();

SaveGates();

//SaveMapIcons();

//SaveArrestPoint();

SaveDrugs();

//SaveMOTDS();

return 1;

}

forward SaveFactionFiles();

public SaveFactionFiles()

{

SaveFactions();

SaveArrestPoint();

SaveMOTDS();

SaveMapIcons();

return 1;

}

forward SaveBizsHouses();

public SaveBizsHouses()

{

SaveBiz();

SaveHouses();

SaveDoors();

return 1;

}

forward SaveOtherFiles();

public SaveOtherFiles()

{

SaveFamilies();

return 1;

}







Aucun commentaire:

Enregistrer un commentaire