Help me
#9

Quote:
Originally Posted by Edw
Посмотреть сообщение
I do not understand. What can I do, what can replace that lop to send that message at all.
You did notice that part the i quoted out with "// This line to regular SendClientMessage as you are already looping at #1"

You were supposed to edit that line and make it send the message with regular SendClientMessage and not PaintMessage.

Like this:

pawn Код:
forward StopPaintball();
public StopPaintball()
{
    for(new i = 0; i < MAX_PLAYERS; i ++) // #1 Loop
    {
        if(InPaintball[i] == 1)
        {
            new string[256];
            ResetPlayerWeapons(i);
            SetTimer("StartPaintball", 30000, 0);
            pGun[1] = 0, pGun[2] = 0, pGun[3] = 0, pGun[4] = 0, pGun[5] = 0, pGun[6] = 0;
            pRound = 0, PlayerKills[i] = 0, VotedMap[i] = 0, VotedGun[i] = 0, pVoted = 1;
            format(string, sizeof(string), "Castigatorul acestei runde de paintball este: %s - %d kills", GetName(pWinner), pWinnerScore);
            SendClientMessage(i, COLOR_YELLOW, string); // See how this simple line of code changed?
            SetTimer("StartPaintball", 20000, false);
        }
    }
    return 1;
}
Reply


Messages In This Thread
Help me - by Edw - 30.12.2014, 17:27
Re: Help me - by Edw - 30.12.2014, 18:21
Re: Help me - by PowerPC603 - 30.12.2014, 18:26
Re : Help me - by MCZOFT - 30.12.2014, 18:31
Re: Help me - by Edw - 30.12.2014, 18:42
Re: Help me - by Cameltoe - 30.12.2014, 18:49
Re: Help me - by Edw - 30.12.2014, 19:01
Re: Help me - by Edw - 30.12.2014, 20:40
Re: Help me - by Cameltoe - 30.12.2014, 21:58

Forum Jump:


Users browsing this thread: 1 Guest(s)