Help me
#9

Also make spam, and look only at id 0. It happens and startpaintball function, do not understand why spam.
Help!

pawn Код:
forward StopPaintball();
public StopPaintball()
{
    for(new i = 0; i < MAX_PLAYERS; i ++)
    {
        if(InPaintball[i] != 0)
        {
            pRound = 0;
            PlayerKills[i] = -1;
            VotedMap[i] = 0;
            VotedGun[i] = 0;
            pVoted = 1;
            ResetPlayerWeapons(i);
            SetPlayerInterior(i, 10);
            SetPlayerVirtualWorld(i, 0);
            pGun[1] = 0, pGun[2] = 0, pGun[3] = 0, pGun[4] = 0, pGun[5] = 0, pGun[6] = 0;
            new sendername[MAX_PLAYER_NAME], string[256];
            GetPlayerName(pWinner, sendername, sizeof(sendername));
            format(string, sizeof(string), "Castigatorul acestei runde de paintball este: %s - %d kills", GetName(pWinner), pWinnerScore);
            SendClientMessage(i, COLOR_YELLOW, string);
            SetTimer("StartPaintball", 30000, 0);
            break;
        }
    }
}
Reply


Messages In This Thread
Help me - by Edw - 28.12.2014, 17:06
Re: Help me - by Facerafter - 28.12.2014, 17:46
Re: Help me - by Edw - 28.12.2014, 17:58
Re: Help me - by Facerafter - 28.12.2014, 18:09
Re: Help me - by Edw - 28.12.2014, 18:12
Re: Help me - by Edw - 29.12.2014, 01:55
Re: Help me - by Edw - 30.12.2014, 08:06
Re: Help me - by Sawalha - 30.12.2014, 08:12
Re: Help me - by Edw - 30.12.2014, 09:48
Re: Help me - by Edw - 30.12.2014, 10:29

Forum Jump:


Users browsing this thread: 1 Guest(s)