[Pedido] Codigo de jetpack para admin RPG
#8

Quote:
Originally Posted by Marlonxv
Посмотреть сообщение
mas eu procurei OnPlayerCommandText e apareceu varios aonde devo colocar o codigo?
Pegue o meu comando, peguei da minha GM que funciona perfeitamente!

pawn Код:
if(strcmp(cmd, "/jetpack", true) == 0)
    {
        if(IsPlayerConnected(playerid))
        {
            if(PlayerInfo[playerid][pJailed] != 0)
            {
                SendClientMessage(playerid,COLOR_GREY,"Vocк nгo pode pegar seu jetpack na cadeia");
                return true;
            }
            GetPlayerName(playerid, sendername, 256);
            if (PlayerInfo[playerid][pAdmin] >= MASTER)
            {
                    if(IsPlayerInAnyVehicle(playerid)) return  SendClientMessage(playerid, COLOR_WHITE, "Vocк Nгo Pode Usar /jetpack em Um Veiculo !");
                    SetPlayerSpecialAction(playerid, 2);
                    GetPlayerName(playerid, sendername, sizeof(sendername));
                    format(string, sizeof(string), "Admin %s Pegou seu JetPack", sendername);
                    ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                    return true;
            }
        }
        return true;
    }
Reply


Messages In This Thread
Codigo de jetpack para admin RPG - by Marlonxv - 23.09.2013, 00:23
Re: Codigo de jetpack para admin RPG - by BielCOP - 23.09.2013, 00:27
Re: Codigo de jetpack para admin RPG - by Coe1 - 23.09.2013, 00:27
Re: Codigo de jetpack para admin RPG - by tristtok - 23.09.2013, 00:28
Re: Codigo de jetpack para admin RPG - by Marlonxv - 23.09.2013, 00:38
Re: Codigo de jetpack para admin RPG - by BielCOP - 23.09.2013, 00:39
Re: Codigo de jetpack para admin RPG - by Marlonxv - 23.09.2013, 00:45
Re: Codigo de jetpack para admin RPG - by tristtok - 23.09.2013, 00:50
Re: Codigo de jetpack para admin RPG - by Marlonxv - 23.09.2013, 00:55
Re: Codigo de jetpack para admin RPG - by Coe1 - 23.09.2013, 00:56

Forum Jump:


Users browsing this thread: 1 Guest(s)