Help me
#1

I have a problem, I still do to this message spam. How can I make just send playerii in Paintball? As if one takes only 1x and if 2 sends several times.
pawn Код:
for(new i = 0; i < MAX_PLAYERS; i ++)
    {
        if(InPaintball[i] != 0)
        {
            pRound = 0;
            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);
        }
    }
PHP код:
[19:41:24Cea mai votata arma a fostDeagle. (2 voturi)
[
19:41:24Cea mai votata arma a fostDeagle. (2 voturi)
[
19:41:25Cea mai votata arma a fostDeagle. (2 voturi)
[
19:41:25Cea mai votata arma a fostDeagle. (2 voturi)
[
19:41:25Cea mai votata arma a fostDeagle. (2 voturi)
[
19:41:25Cea mai votata arma a fostDeagle. (2 voturi)
[
19:41:27Cea mai votata arma a fostDeagle. (2 voturi)
[
19:41:27Cea mai votata arma a fostDeagle. (2 voturi
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: 2 Guest(s)