18.07.2015, 12:21
PHP код:
new string[256];
format(string, sizeof(string), "- Los Santos Life Roleplay %s's Stats -", GetPlayerNameEx(targetid));
SendClientMessageEx(playerid, COLOR_GREEN, string);
format(string, sizeof(string), "Level {008000}[%d] {FFFFFF}- Player Hours {008000}[%d] {FFFFFF}- Gender {008000}[%s] {FFFFFF}- Age {008000}[%d] {FFFFFF}- Phone {008000}[%d] {FFFFFF}- Warnings {008000}[%d]", GetPlayerNameEx(targetid), level, phours, sext, age, pnumber, warns);
SendClientMessageEx(playerid, COLOR_WHITE, string);
format(string, sizeof(string), "%s {008000}[%d] {FFFFFF}- Rank {008000}[%s (%d)] {FFFFFF}- Division {008000}[%s] {FFFFFF}- Job {008000}[%s] {FFFFFF}- Side Job {008000}[%s] {FFFFFF}- Warnings {008000}[%d]", facgang, employer, rank, PlayerInfo[targetid][pRank], division, jtext, jtext2);
SendClientMessageEx(playerid, COLOR_WHITE, string);
format(string, sizeof(string), "Total Wealth {008000}[%d] {FFFFFF}- Cash {008000}[%d] {FFFFFF}- Bank Balance {008000}[%d] {FFFFFF}- Insurance {008000}[%s] {FFFFFF}- Married to {008000}[%s] {FFFFFF}- VIP Level {008000}[%s]", totalwealth, cash, bank, insur, married, donatortxt);
SendClientMessageEx(playerid, COLOR_WHITE, string);
format(string, sizeof(string), "Crimes {008000}[%d] {FFFFFF}- Arrests {008000}[%d] {FFFFFF}- Wanted Level {008000}[%d] {FFFFFF}- RP Skill {008000}[%d] {FFFFFF}- Referral Tokens {008000}[%d] {FFFFFF}- Tokens {008000}[%d]", crimes, arrests, wanted, rpskill, reftokens, tokens);
SendClientMessageEx(playerid, COLOR_WHITE, string);
format(string, sizeof(string), "Approximate time of next paycheck: {008000}%d {FFFFFF}minutes.", floatround((3600-PlayerInfo[targetid][pConnectSeconds]) / 60));
SendClientMessageEx(playerid, COLOR_WHITE, string);
SendClientMessageEx(playerid, COLOR_WHITE, "Use {008000}/inventory {FFFFFF}to see your items.");
if(PlayerInfo[playerid][pAdmin] >= 1)
{
format(string, sizeof(string), "House {008000}[%d] {FFFFFF}- Renting {008000}[%d] {FFFFFF}- Business {008000}[%d] {FFFFFF}- Interior {008000}[%d] {FFFFFF}- Virtual World {008000}[%d]", house, rent, business, interior, vw);
SendClientMessageEx(playerid, COLOR_WHITE, string);
format(string, sizeof(string), "Real VW {008000}[%d] {FFFFFF}- Jail Time {008000}[%d seconds] {FFFFFF}- Mutes {008000}([N-%d]-[AD-%d]-[R-%d]) {FFFFFF}- Giftbox {008000}[%d]", realvw, jtime, nmutes, admutes, rmutes, eggs);
SendClientMessageEx(playerid, COLOR_WHITE, string);
}
if (PlayerInfo[playerid][pAdmin] >= 4)
{
if(PlayerInfo[targetid][pAdmin] >= 1)
{
format(string, sizeof(string), "Accepted Reports {008000}[%d] {FFFFFF}- Admin Talks Sent {008000}[%d]", PlayerInfo[targetid][pAcceptReport], PlayerInfo[targetid][pAMSSent]);
SendClientMessageEx(playerid, COLOR_WHITE, string);
}
}