Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // COMANDA STATS
- YCMD:stats(playerid, params[], help) return showStatictics(playerid, playerid);
- //SHOWSTATICTICS
- showStatictics(playerid, id) {
- new sumaxp = playerVariables[playerid][pLevel] * 2, pretlv = playerVariables[playerid][pLevel] * 200;
- SCM(id, 0x2D83A8FF, "-----------------------------------------------------------------------------------------------");
- SCM(id, COLOR_WHITE, "{2D83A8}General:{FFFFFF} %s | played: %d hours | join date: %s, job: %s, warns: %d/3", playerVariables[playerid][pName], playerVariables[playerid][pTime], playerVariables[playerid][pRegisterDate], getJobName(playerVariables[playerid][pJob]), playerVariables[playerid][pWarns]);
- SCM(id, COLOR_WHITE, "{2D83A8}Account:{FFFFFF} level %d (%d/%d respect points), next level cost: %s$ , gender: %s", playerVariables[playerid][pLevel], playerVariables[playerid][pRP], sumaxp, FormatNumber(pretlv), (playerVariables[playerid][pGender] == 1) ? ("male") : ("female"));
- SCM(id, COLOR_WHITE, "{2D83A8}Economy:{FFFFFF} money $%s (cash) | %s (bank)", FormatNumber(playerVariables[playerid][pMoney]), FormatNumber(playerVariables[playerid][pBankMoney]));
- SCM(id, COLOR_WHITE, "{2D83A8}Faction:{FFFFFF} %s (%d), %d/30 faction punish, %d/3 faction warns", groupVariables[playerVariables[playerid][pGroup]][groupName], playerVariables[playerid][pGroupRank], playerVariables[playerid][pGroupPunish], playerVariables[playerid][pGroupWarns]);
- SCM(id, COLOR_WHITE, "{2D83A8}Shop:{FFFFFF} %d special points", playerVariables[playerid][pSpecialPoints]);
- SCM(id, COLOR_WHITE, "{2D83A8}Other:{FFFFFF} %d drugs, %d materials", playerVariables[playerid][pDrugs], playerVariables[playerid][pMaterials]);
- SCM(id, 0x2D83A8FF, "-----------------------------------------------------------------------------------------------");
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement