title: A simple command in PAWN
body: <p>San Andreas Multiplayer (GTA) uses PAWN as its programming language. I'm an owner of a server on SA-MP and I'm not that pro so I'd like to get some help if possible. Basically, I have a command that checks player's statistics when he/she is online, but I'd like to have a command to check them when they're offline. That's the code of the commmand which checks player's statistics when he's online.</p>
  
  <pre><code>CMD:check(playerid, var[])
  {
      new user;
      if(!Logged(playerid)) return NoLogin(playerid);
      if(Player[playerid][pAdmin] &gt;= 2 || Player[playerid][pStaffObserver])
      {
          if(sscanf(var,"us[32]", user, var))
          {
              SendClientMessage(playerid, COLOR_WHITE, "{00BFFF}Usage:{FFFFFF} /check [playerid] [checks]");
              SendClientMessage(playerid, COLOR_GRAD2, "** [CHECKS]: stats");
              return 1;
          }
          if(!strcmp(var, "stats", true))
          {
              if(!Logged(user)) return NoLoginB(playerid);
              ShowStats(playerid, user);
          }
      }
      else
      {
          NoAuth(playerid);
      }
      return 1;
  }
  </code></pre>
  
  <p>I use ZCMD command processor and Dini saving system. So I'd like to make CMD:ocheck that would display the stock ShowStats and it'll work like /ocheck [Firstname_Lastname].</p>
  
  <p>Any help? Please help if possible.</p>
  
  <p>Thanks</p>
  
  <p>~Kevin</p>