Quote:
Originally Posted by Energyzer
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; }
|
i whanted to do it auto so like when they leave the sever there info gets saved in a file in the script file so could someone help thx