PDA

View Full Version : Help me


Brys
15/08/2014, 09:06 AM
Cars dealership in my server bugged,when i restart the server any car in the server be for sale.


Help please! :(

NewbieTester
15/08/2014, 09:13 AM
You Are Missing Of Saving System Click Here (http://forum.sa-mp.com/showthread.php?t=297301) For The Tutorial

Brys
15/08/2014, 09:20 AM
I have,/saveserver command.

NewbieTester
15/08/2014, 09:22 AM
Will you post it Here ?

Brys
15/08/2014, 09:35 AM
Here,look // 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;
}

NewbieTester
15/08/2014, 09:38 AM
Try This

// 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;
}

Brys
15/08/2014, 09:47 AM
I got 26 Errors

NewbieTester
15/08/2014, 09:50 AM
Post The Errors Here

Brys
15/08/2014, 09:58 AM
https://fbcdn-sphotos-a-a.akamaihd.net/hphotos-ak-xpf1/t1.0-9/10351255_699370553444832_2047387160137004965_n.jpg
https://fbcdn-sphotos-g-a.akamaihd.net/hphotos-ak-xap1/v/t1.0-9/10537177_699370970111457_3280830970832413783_n.jpg ?oh=b31c84d6a6232b7129060c9c8166d85c&oe=5470B9CC&__gda__=1415233808_9fef3a78c70c630af7774ccdeb4156c c

NewbieTester
15/08/2014, 10:05 AM
Last , Install this (http://forum.sa-mp.com/showthread.php?t=291018)

Isolated
15/08/2014, 11:01 AM
Can you post the saveserver command?

Brys
15/08/2014, 08:58 PM
Well after i run it i don't understand what to do

Brys
16/08/2014, 08:58 AM
It's already posted xD...