24.08.2009, 09:05
For save player's accounts use this:
pawn Код:
if(strcmp(cmd, "/saveaccounts", true) == 0)
{
if (PlayerInfo[playerid][pAdmin] >= 2) // You can change for the required level admin.
{
SaveAccounts(); // You can change for your accounts variable
SendClientMessage(playerid, COLOR_YELLOW, "The Accounts saved correctly.");
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " You are not autorized to use that command!");
}
return 1;
}

