25.09.2012, 12:28
Hi,
i made that command and just the " My User Inormation " is show also the " ======= " is show,
But the player info not show what is the problem ?
i made that command and just the " My User Inormation " is show also the " ======= " is show,
But the player info not show what is the problem ?
pawn Код:
if (strcmp("/myinfo", cmdtext, true, 10) == 0)
{
new string[256];
SendClientMessage(playerid,COLOR_GREEN,"============================== My User Information ===========================================");
format(string, sizeof(string),"[Name]%s(%d): Level[%d] - Bank[%d] - Money[%d] - Exp[%d] ",PlayerName(playerid),playerid,PlayerInfo[playerid][Level],PlayerInfo[playerid][pBankAccount],PlayerInfo[playerid][pCash],PlayerInfo[playerid][Exp]);
format(string, sizeof(string),"Kills[%d] - Deaths[%d] - Adminlevel[%d] ",PlayerInfo[playerid][pKills],PlayerInfo[playerid][pDeaths],PlayerInfo[playerid][pAdmin]);
SendClientMessage(playerid,COLOR_GREEN,"==============================================================================================");
}