Advertisement
Guest User

Untitled

a guest
Apr 11th, 2018
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.78 KB | None | 0 0
  1. // COMANDA STATS
  2.  
  3. YCMD:stats(playerid, params[], help) return showStatictics(playerid, playerid);
  4.  
  5. //SHOWSTATICTICS
  6.  
  7. showStatictics(playerid, id) {
  8. new sumaxp = playerVariables[playerid][pLevel] * 2, pretlv = playerVariables[playerid][pLevel] * 200;
  9. SCM(id, 0x2D83A8FF, "-----------------------------------------------------------------------------------------------");
  10. 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]);
  11. 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"));
  12. SCM(id, COLOR_WHITE, "{2D83A8}Economy:{FFFFFF} money $%s (cash) | %s (bank)", FormatNumber(playerVariables[playerid][pMoney]), FormatNumber(playerVariables[playerid][pBankMoney]));
  13. 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]);
  14. SCM(id, COLOR_WHITE, "{2D83A8}Shop:{FFFFFF} %d special points", playerVariables[playerid][pSpecialPoints]);
  15. SCM(id, COLOR_WHITE, "{2D83A8}Other:{FFFFFF} %d drugs, %d materials", playerVariables[playerid][pDrugs], playerVariables[playerid][pMaterials]);
  16. SCM(id, 0x2D83A8FF, "-----------------------------------------------------------------------------------------------");
  17. return 1;
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement