Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- stock MsgBox(playerid, title[], text[])
- {
- ShowPlayerDialog(playerid, 142042, DIALOG_STYLE_MSGBOX, title, text, "OK", "");
- }
- command(stats, playerid, params[])
- {
- new
- strStats[128]
- ;
- format(strStats, sizeof(strStats), "\
- Gender: %s\t\t\
- Country: %s\t\t\
- Level :%d\t\t\
- Fight Style:%d\t\t\
- Skin:%d\t\t\
- Admin Level:%d\n\
- VIP Level:%d\t\t\
- Wanted Level:%d\t\t\
- Kills:%d\t\t\
- Deaths:%d\t\t\
- Faction:%s",
- GetPlayerScore(playerid),
- PlayerInfo[playerid][pFightStyle],
- PlayerInfo[playerid][pSkin],
- PlayerInfo[playerid][pAdminLevel],
- PlayerInfo[playerid][pVipLevel],
- PlayerInfo[playerid][pWantedLevel],
- PlayerInfo[playerid][pKills],
- PlayerInfo[playerid][pDeaths],
- PlayerInfo[playerid][pFaction]
- );
- MsgBox(playerid, "Stats", strStats);
- return 1;
- }
Add Comment
Please, Sign In to add comment