[Pedido] /FakeCmd e /FakeKill
#5

Quote:
Originally Posted by iCasTiel
Посмотреть сообщение
pawn Код:
CMD: fakekill (playerid, params[] ) {

    new
        PlayerID,
        IDDeath,
        Weapon
    ;

    if ( sscanf (params, "uui", PlayerID, IDDeath, Weapon ) )
        return SendClientMessage(playerid, -1, "/Use: [id do player que mata] [id do player morto] [ e a arma] ");
       
       
    SendDeathMessage(PlayerID, IDDeath, Weapon);

    return true;

}

CMD: fakecmd ( playerid, params[] ) {

    new
        PlayerID,
        CMD[10]
    ;

    if ( sscanf (params, "us[10]", PlayerID, CMD ) )
        return SendClientMessage(playerid, -1, "Use: /fakecmd [Player ID] [CMD] ");
       
    CommandText(PlayerID, CMD);


    return true;
}
error 017: undefined symbol "CommandText"

O /fakekill deu certinho, mais o /fakecmd ta dando erro D:
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: 1 Guest(s)