- 0
Problema comanda
-
Similar Content
-
- 4 replies
- 131 views
-
- 4 answers
- 614 views
-
- 1 reply
- 92 views
-
Comanda /spec
By VAurel,
- 4 answers
- 259 views
-
- 3 replies
- 278 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
Question
serbansubs
Buna SA-MP.ro,am o problmea la o comanda:
[pawn]ALTCOMMAND:savedata->saveaccounts;
COMMAND:saveaccounts(playerid, params[])
{
if (GetPVarInt(playerid, "PlayerLogged") == 0) return SendClientMessage(playerid, COLOR_WHITE, "You must be logged in to use this.");
if(!AdminUser(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to create a admin user, /admincreate.");
if(GetPVarInt(playerid, "AdminLogged") == 0) return SendClientMessage(playerid, COLOR_GREY, "You need to login into your admin account, /adminlogin.");
if(GetPVarInt(playerid, "Admin") >= 7)
{
foreach (Player,i)
{
OnPlayerDataSave(i);
}
SaveBizz();
SaveProperty();
SaveCars();
SaveFactions();
SaveInts();
SaveTags();
SaveNormalCars();
SaveCars2();
}
else SendClientMessage(playerid, COLOR_LIGHTRED, "You do not have access to this command !");
return 1;
}[/pawn]
Practic comanda ar trebuii sa salveze conturile,eu dupa ce inchid server-ul pe windows mi se salveaza tot,dupa ce inchid server-ul pe host (Linux) ramane din pozitia in care am uploadat pe host,ultima varianta de pe linux. Am sperat ca comanda o sa-mi rezolve problema...nu se intampla nimic,banuiesc ca e ceva gresit in ea(Nu realizez ce).Apreciez un eventual ajutor.Multumesc anticipat.
Link to comment
Share on other sites
2 answers to this question
Recommended Posts