[FilterScript] [KoS] System Of Fight
#1


Feito Por : Trinix


Descrissгo :

Nada a comentar so digo q e um fs q mostra um menu que voce escolhe o tipo de luta que quer !!!

Imagens :

Nenhuma

Comandos :

/m-luta : Abre o Menu de Seleзгo Das Lutas

Codigo :

pawn Код:
#include <a_samp>

#define COLOR_LIGHTRED 0xFF8282AA

new Menu:systemfighttrinix;

public OnFilterScriptInit()
{
    print("\n--------------------------------------");
    print(" System of Fight By : Trinix");
    print(" Fassa Bom Uso e Coloque Meus Creditos");
    print("--------------------------------------\n");

    systemfighttrinix = CreateMenu("System Of Fight", 1, 50.0, 180.0, 200.0, 200.0);
    AddMenuItem(systemfighttrinix, 0, "Fight ~~> Boxe");
    AddMenuItem(systemfighttrinix, 0, "Fight ~~> GiuGtso");
    AddMenuItem(systemfighttrinix, 0, "Fight ~~> Street Fight");
    AddMenuItem(systemfighttrinix, 0, "Fight~~> Agarra e Chute");
    AddMenuItem(systemfighttrinix, 0, "Fight ~~> Normal - Fracote");
    AddMenuItem(systemfighttrinix, 0, "Sair / Fechar");

    return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/m-luta", cmdtext, true, 10) == 0)
    {
        ShowMenuForPlayer(systemfighttrinix, playerid);
        TogglePlayerControllable(playerid,0);
        SendClientMessage(playerid, COLOR_LIGHTRED,"Voce Estб Vendo o Sistema De Lutas By : Trinix");
        return 1;
    }
    return 0;
}
public OnPlayerSelectedMenuRow(playerid, row)
{
  new Menu:current;
  current = GetPlayerMenu(playerid);
  if(current == systemfighttrinix)
  {
    switch(row)
    {
      case 0:{
      SetPlayerFightingStyle(playerid, FIGHT_STYLE_BOXING);

      }
      case 1:{
      SetPlayerFightingStyle(playerid, FIGHT_STYLE_KUNGFU);

      }
      case 2:{
      SetPlayerFightingStyle(playerid, FIGHT_STYLE_KNEEHEAD);

      }
      case 3:{
      SetPlayerFightingStyle (playerid, FIGHT_STYLE_GRABKICK);

      }
      case 4:{
      SetPlayerFightingStyle(playerid, FIGHT_STYLE_ELBOW);

            }
            case 5:{
      SendClientMessage(playerid, 0x00ff00ff, " Menu Fechado : system of fight ");

      }
    }
  }

    return 1;
}
Creditos :

[KoS] Trinix !! [Bizu]
Reply


Messages In This Thread
[KoS] System Of Fight - by Trinix_PoS [Bizu] - 03.01.2011, 11:58
Re: [KoS] System Of Fight - by Macintosh - 03.01.2011, 12:07
Re: [KoS] System Of Fight - by PsyShotter - 03.01.2011, 12:08
Re: [KoS] System Of Fight - by syslogg - 03.01.2011, 12:15
Respuesta: [KoS] System Of Fight - by Tom_Park - 03.01.2011, 12:19
Re: [KoS] System Of Fight - by Trinix_PoS [Bizu] - 03.01.2011, 12:19
Re: [KoS] System Of Fight - by Marco_Nutz - 03.01.2011, 12:22
Re: [KoS] System Of Fight - by [Banido]HigorOliver - 03.01.2011, 12:28
Re: [KoS] System Of Fight - by Trinix_PoS [Bizu] - 03.01.2011, 12:32
Re: [KoS] System Of Fight - by Trinix_PoS [Bizu] - 03.01.2011, 13:17

Forum Jump:


Users browsing this thread: 1 Guest(s)