Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Fs feito por BRUNO ALVES jamais tire os créditos!
- #include <a_samp>
- #define MudarLuta 101
- //-------------------------------------------------
- public OnFilterScriptInit()
- {
- print("** FS de estilos de luta By:Bruno Alves Carregado Com Sucesso");
- return 1;
- }
- public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
- {
- if(dialogid == MudarLuta)
- {
- if(response)
- {
- if(listitem == 0)
- {
- SetPlayerFightingStyle(playerid, FIGHT_STYLE_BOXING);//boxe
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- }
- if(listitem == 1)
- {
- SetPlayerFightingStyle(playerid, FIGHT_STYLE_KUNGFU);//kongfu
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- }
- if(listitem == 2)
- {
- SetPlayerFightingStyle(playerid, FIGHT_STYLE_ELBOW);//Briga de rua
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- }
- if(listitem == 3)
- {
- SetPlayerFightingStyle(playerid, FIGHT_STYLE_KNEEHEAD);//agarra e chute
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- }
- if(listitem == 4)
- {
- SetPlayerFightingStyle (playerid, FIGHT_STYLE_GRABKICK);//normal
- PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
- }
- }
- }
- return 1;
- }
- //Feito Por BRUNO ALVES
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- if(strcmp(cmdtext,"/mudarluta",true) == 0)
- {
- ShowPlayerDialog(playerid, MudarLuta, DIALOG_STYLE_LIST,
- "Estilos de luta",
- "{ADFF2F}Boxe\n{CAE1FF}Kongfu\n{7B68EE}Briga de Rua\nAgarra e Chute\n{912CEE}Normal",
- "Selecionar", "Sair");
- return 1;
- }
- return false;
- }
- ////Feito Por BRUNO ALVES
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement