Guest User

Untitled

a guest
Apr 23rd, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.80 KB | None | 0 0
  1. stock MsgBox(playerid, title[], text[])
  2. {
  3.     ShowPlayerDialog(playerid, 142042, DIALOG_STYLE_MSGBOX, title, text, "OK", "");
  4. }
  5.  
  6. command(stats, playerid, params[])
  7. {
  8.     new
  9.         strStats[128]
  10.     ;
  11.     format(strStats, sizeof(strStats), "\
  12.         Gender: %s\t\t\
  13.         Country: %s\t\t\
  14.         Level :%d\t\t\
  15.         Fight Style:%d\t\t\
  16.         Skin:%d\t\t\
  17.         Admin Level:%d\n\
  18.         VIP Level:%d\t\t\
  19.         Wanted Level:%d\t\t\
  20.         Kills:%d\t\t\
  21.         Deaths:%d\t\t\
  22.         Faction:%s",
  23.         GetPlayerScore(playerid),
  24.         PlayerInfo[playerid][pFightStyle],
  25.         PlayerInfo[playerid][pSkin],
  26.         PlayerInfo[playerid][pAdminLevel],
  27.         PlayerInfo[playerid][pVipLevel],
  28.         PlayerInfo[playerid][pWantedLevel],
  29.         PlayerInfo[playerid][pKills],
  30.         PlayerInfo[playerid][pDeaths],
  31.         PlayerInfo[playerid][pFaction]
  32.     );
  33.     MsgBox(playerid, "Stats", strStats);
  34.     return 1;
  35. }
Add Comment
Please, Sign In to add comment