[AJUDA] Criaзгo de Comando /Pular
#1

Alguem Me Ajuda a Criar um Comando Tipo Tapгo, Que a Pessoa Usa, Tipo: /pular, e Depois Toma um Tapa Pra Cima?
Tipo, Tentei Criar e Nгo Consegui..
Tinha Feito Assim:
pawn Код:
if(strcmp(cmd, "/pularadmin", true) == 0)
    {
            new playa;
            //new Float:shealth;
            new Float:slx, Float:sly, Float:slz;
            playa = ReturnUser(tmp);
        if (PlayerInfo[playerid][pAdmin] >= 1)
        {
            if(PlayerPaintballing[playerid] != 0)
            {
                SendClientMessage(playerid,COLOR_GREY," Vocк nгo pode Usar Este Comando no evento!");
                return 1;
            }
            if(PlayerInfo[playerid][pJailed] != 0)
            {
                SendClientMessage(playerid,COLOR_GREY," Vocк nгo pode Usar Este Comando Preso!");
                return 1;
            }
            GivePlayerWeapon(playerid, 46, 1);
            GetPlayerPos(playa, slx, sly, slz);
            SetPlayerPos(playa, slx, sly, slz+530);
            PlayerPlaySound(playa, 1130, slx, sly, slz+530);
            SendClientMessage(playerid,COLOR_GREEN,"Vocк Usou /PularAdmin!");
        }
        return 1;
    }
Tipo, Quando Uso o Comando, Eu Apenas Ganho o Paraquedas que Coloquei na "GivePlayerWeapon(playerid, 46, 1);" Mais o Tapa Nгo Funciona :/
Alguem Sabe o que eu Fiz de Errado?
Obg, Bjoos
Reply


Messages In This Thread
[AJUDA] Criaзгo de Comando /Pular - by Biianca - 27.01.2012, 08:00
Re: [AJUDA] Criaзгo de Comando /Pular - by humildadeforever - 27.01.2012, 09:40
Re: [AJUDA] Criaзгo de Comando /Pular - by paulor - 27.01.2012, 11:53
Re: [AJUDA] Criaзгo de Comando /Pular - by humildadeforever - 27.01.2012, 11:59
Re: [AJUDA] Criaзгo de Comando /Pular - by paulor - 27.01.2012, 12:27
Re: [AJUDA] Criaзгo de Comando /Pular - by humildadeforever - 27.01.2012, 12:34
Re: [AJUDA] Criaзгo de Comando /Pular - by paulor - 27.01.2012, 17:20
Re: [AJUDA] Criaзгo de Comando /Pular - by Biianca - 28.01.2012, 00:50
Re: [AJUDA] Criaзгo de Comando /Pular - by rjjj - 28.01.2012, 01:06
Re: [AJUDA] Criaзгo de Comando /Pular - by Biianca - 28.01.2012, 01:37

Forum Jump:


Users browsing this thread: 1 Guest(s)