[Ajuda] Chat Kill
#7

Quote:
Originally Posted by Ph0ton
Посмотреть сообщение
Aqui uma base, EU NГO TESTEI:

pawn Код:
new pSpree[MAX_PLAYERS];

public OnPlayerDeath(playerid, killerid, reason)
{
    pSpree[playerid] = 0;
    pSpree[killerid]++;
    if(pSpree[killerid] > 5)
    {
        new pName[24], Str[256];
        GetPlayerName(killerid, pName, 24);
        if(pSpree[killerid] == 5)       format(Str, 256, "ANTENЗГO: O Player %s jб mandou 5 players pra vala sem morrer.", pName);
        if(pSpree[killerid] == 10)      format(Str, 256, "ANTENЗГO: O Player %s jб mandou 10 players pra vala sem morrer.", pName);
        SendClientMessageToAll(-1, Str);

    }
    return 1;
}
Gкnio.


Vocк nгo sabe distinguir uma "Ajuda" de um "Pedido" ?


Com as cйlulas gastadas eu seu pequeno script, dб para fazer um gamemode de 1000 linhas.


Cheers.
Reply


Messages In This Thread
Chat Kill - by Catchorro - 01.11.2013, 17:13
Re: Chat Kill - by iDreak - 01.11.2013, 17:18
Re: Chat Kill - by zSuYaNw - 01.11.2013, 17:21
Re: Chat Kill - by Catchorro - 01.11.2013, 17:21
Re: Chat Kill - by focaximubh - 01.11.2013, 17:21
Re: Chat Kill - by Ph0ton - 01.11.2013, 17:47
Re: Chat Kill - by zSuYaNw - 01.11.2013, 18:05
Re: Chat Kill - by Ph0ton - 01.11.2013, 18:20
Re: Chat Kill - by zSuYaNw - 01.11.2013, 18:59
Re: Chat Kill - by Ph0ton - 01.11.2013, 19:48

Forum Jump:


Users browsing this thread: 1 Guest(s)