/myinfo not effect IG
#7

Try this
pawn Код:
if (strcmp("/myinfo", cmdtext, true, 10) == 0)
    {
        new string[256];
        new string2[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(string2, sizeof(string2),"Kills[%d] - Deaths[%d] - Adminlevel[%d] ",PlayerInfo[playerid][pKills],PlayerInfo[playerid][pDeaths],PlayerInfo[playerid][pAdmin]);
        SendClientMessage(playerid, COLOR_GREEN, string);
        SendClientMessage(playerid, COLOR_GREEN, string);
        SendClientMessage(playerid,COLOR_GREEN,"==============================================================================================");
        }
You just formatted the string, didn't output it.
And thats why the message didn't come
.

Edit:Aww I'm late
Mobile scripting is too slow..
Reply


Messages In This Thread
/myinfo not effect IG - by BlueGames - 25.09.2012, 12:28
Re: /myinfo not effect IG - by Socan - 25.09.2012, 12:33
Re: /myinfo not effect IG - by Socan - 25.09.2012, 12:36
Re: /myinfo not effect IG - by BlueGames - 25.09.2012, 12:41
Re: /myinfo not effect IG - by Socan - 25.09.2012, 12:42
Re: /myinfo not effect IG - by iPLEOMAX - 25.09.2012, 12:42
Re: /myinfo not effect IG - by Lordzy - 25.09.2012, 12:44
Re: /myinfo not effect IG - by Socan - 25.09.2012, 12:48
Re: /myinfo not effect IG - by BlueGames - 25.09.2012, 12:49
Re: /myinfo not effect IG - by BlueGames - 25.09.2012, 12:52

Forum Jump:


Users browsing this thread: 1 Guest(s)