How to create commands for save the stats?
#6

this is mine

pawn Код:
if(strcmp(cmd, "/savechars", true) == 0)
    {
        if (PlayerInfo[playerid][pAdmin] >= 4)
        {
            SaveAccounts();
            SendClientMessage(playerid, COLOR_YELLOW, "All player accounts updated successfully.");
        }
        else
        {
            SendClientMessage(playerid, COLOR_GRAD1, "You are not authorized to use that command !");
        }
 return 1;
      }



Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)