SendClientMessage new line
#9

Sorry, I accidentally put 'string' instead of 'fstring'. I edited my post above, so that should work now.

Quote:
Originally Posted by BenzoAMG
Посмотреть сообщение
pawn Код:
CMD:hitlist(playerid, params[])
{
    new count = 0,fstring[80];
    SendClientMessage(playerid, COLOR_YELLOW, "[__________ HIT LIST __________]");
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if (IsPlayerConnected(i))
        {
            if(pInfo[i][Placehit] > 0)
            {
                format(fstring, sizeof(fstring), "%s(%i) -  {FFFF00}$%s", pNameHit(i), i, Comma(pInfo[i][Placehit]));
                count++;
                SendClientMessage(playerid, COLOR_WHITE, fstring);
            }
        }
    }
    if(count == 0) return SendClientMessage(playerid, 0xFF0000FF, "There are currently no players with a hit contract.");
    return 1;
}
Reply


Messages In This Thread
SendClientMessage new line - by Cerealguy - 24.10.2013, 03:25
Re: SendClientMessage new line - by Zex Tan - 24.10.2013, 03:33
Respuesta: SendClientMessage new line - by Cerealguy - 24.10.2013, 03:39
Re: SendClientMessage new line - by Zex Tan - 24.10.2013, 03:46
Respuesta: SendClientMessage new line - by Cerealguy - 24.10.2013, 03:47
Re: SendClientMessage new line - by Zex Tan - 24.10.2013, 03:57
Re: SendClientMessage new line - by DobbysGamertag - 24.10.2013, 04:06
Re: SendClientMessage new line - by Threshold - 24.10.2013, 06:52
Re: SendClientMessage new line - by Threshold - 24.10.2013, 15:45
Respuesta: Re: SendClientMessage new line - by Cerealguy - 24.10.2013, 23:44

Forum Jump:


Users browsing this thread: 2 Guest(s)