Whats wrong?
#5

PHP код:
stock ShowStats(playerid)
{
    
#define size_string (128)
    
new string[size_string];
    
SendClientMessage(playerid, -1,""White"===================================================================================");
    
format(stringsize_string"\t"Red"Name: "White"%s "pName(playerid));
    
SendClientMessage(playerid, -1string);
    
format(stringsize_string"\t"Red"ID: "White"%d"playerid); //524
    
SendClientMessage(playerid, -1string);
    
format(stringsize_string"\t"Red"Admin Level: "White"%d"GetAdminLevel(playerid));
    
SendClientMessage(playerid, -1string);
    
format(stringsize_string"\t"Red"Rank: "White"%s"GetRank(playerid));
    
SendClientMessage(playerid, -1string);
    
format(stringsize_string"\t"Red"VIP: "White"%s"IsVIP(playerid));
    
SendClientMessage(playerid, -1string);
    
format(stringsize_string"\t"Red"KMA: "White"%s"IsKMA(playerid));
    
SendClientMessage(playerid, -1string);
    
format(stringsize_string"\t"Red"Score: "White"%d"PlayerInfo[playerid][pScore]);
    
SendClientMessage(playerid, -1string);
    
format(stringsize_string"\t"Red"Money: "White"%d$"PlayerInfo[playerid][pMoney]);
    
SendClientMessage(playerid, -1string);
    
format(stringsize_string"\t"Red"Kills: "White"%d"PlayerInfo[playerid][pKills]);
    
SendClientMessage(playerid, -1string);
    
format(stringsize_string"\t"Red"Deaths: "White"%d"PlayerInfo[playerid][pDeaths]);
    
SendClientMessage(playerid, -1string);
    
format(stringsize_string"\t"Red"Muted: "White"%s"IsMuted(playerid));
    
SendClientMessage(playerid, -1string);
    
format(stringsize_string"\t"Red"Jailed: "White"%s"IsJailed(playerid));
    
SendClientMessage(playerid, -1string);
    
format(stringsize_string"\t"Red"Frozen: "White"%s"IsFrozen(playerid));
    
SendClientMessage(playerid, -1string);
    
format(stringsize_string"\t"Red"Times muted: "White"%d"PlayerInfo[playerid][pMutedTimes]);
    
SendClientMessage(playerid, -1string);
    
format(stringsize_string"\t"Red"Times jailed: "White"%d"PlayerInfo[playerid][pJailedTimes]);
    
SendClientMessage(playerid, -1string);
    
format(stringsize_string"\t"Red"Times frozen: "White"%d"PlayerInfo[playerid][pFrozenTimes]);
    
SendClientMessage(playerid, -1string);
    
format(stringsize_string"\t"Red"Loggins: "White"%d"PlayerInfo[playerid][pLoggins]);
    
SendClientMessage(playerid, -1string);
    
SendClientMessage(playerid, -1,""White"===================================================================================");
    
#undef size_string
    
return 1;

AND WHY THE HELL HAVE YOU EDITED YOUR POST ?
Reply


Messages In This Thread
Whats wrong? - by Markx - 17.07.2011, 19:16
Re: Whats wrong? - by MadeMan - 17.07.2011, 19:34
Re: Whats wrong? - by MoroDan - 17.07.2011, 19:46
Re: Whats wrong? - by Markx - 17.07.2011, 19:47
Re: Whats wrong? - by MoroDan - 17.07.2011, 20:02

Forum Jump:


Users browsing this thread: 1 Guest(s)