[Pedido] /FakeCmd e /FakeKill
#2

Uma base:
pawn Код:
COMMAND:fakekill(playerid, params[])
{
    new KillerID, VictimID, reason;
    if (sscanf(params, "uu", KillerID, VictimID)) SendClientMessage(playerid, 0xFF0000AA, "Uso: /fakekill [id do player que mata] [id do player morto] []");
    else
    {
    SetPlayerHealth(VictimID, 0.0); //Mata o player que e morto
    SendDeathMessage(KillerID, VictimID, reason); //Coloca que o player morreu no chat-kill
    }
}
OBS: Nгo testado
OBS IMPORTANTIIIIIIIIIISSIMA: Necessinta plugin sscanf, by ******
Reply


Messages In This Thread
/FakeCmd e /FakeKill - by dinhocap - 15.04.2013, 03:05
Re: /FakeCmd e /FakeKill - by Juniiro3 - 15.04.2013, 20:24
Re: /FakeCmd e /FakeKill - by dinhocap - 18.04.2013, 03:39
Re: /FakeCmd e /FakeKill - by Gii - 18.04.2013, 03:59
Re: /FakeCmd e /FakeKill - by dinhocap - 20.04.2013, 04:17
Re: /FakeCmd e /FakeKill - by Gii - 20.04.2013, 04:31
Re: /FakeCmd e /FakeKill - by dinhocap - 20.04.2013, 04:37

Forum Jump:


Users browsing this thread: 2 Guest(s)