[HELP] A little help
#1

hello,

i am here to ask, i have create my own fighting style menu, but when i want to go somewhere else it not teleport to that place how i can fix it


Reply
#2

Show those lines which you doubt are incorrect ?
Reply
#3

i have compile it but it dont have any warns even error that would be weird

i think maybe the
Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
  if(dialogid == 1 && response)
  {
    switch(listitem)
    {
      case 0:
      {
        SetPlayerFightingStyle(playerid, FIGHT_STYLE_NORMAL);
	  SendClientMessage(playerid, 0xFFFFFF, "You Have Change Your Fighting Style To Normal");
      }
      case 1:
      {
        SetPlayerFightingStyle(playerid, FIGHT_STYLE_BOXING);
      	  SendClientMessage(playerid, 0xFFFFFF, "You Have Change Your Fighting Style To Boxing");
      }
      case 2:
      {
        SetPlayerFightingStyle(playerid, FIGHT_STYLE_KUNGFU);
	  SendClientMessage(playerid, 0xFFFFFF, "You Have Change Your Fighting Style To Kung Fu");
      }
      case 3:
      {
         SetPlayerFightingStyle(playerid, FIGHT_STYLE_KNEEHEAD);
	   SendClientMessage(playerid, 0xFFFFFF, "You Have Change Your Fighting Style To Knee Head");
      	}
	case 4:
      {
        SetPlayerFightingStyle(playerid, FIGHT_STYLE_GRABKICK);
	  SendClientMessage(playerid, 0xFFFFFF, "You Have Change Your Fighting Style To Grab Kick");
	}
	case 5:
	{
        SetPlayerFightingStyle(playerid, FIGHT_STYLE_ELBOW);
	  SendClientMessage(playerid, 0xFFFFFF, "You Have Change Your Fighting Style To Normal");
	}
    }
  }
  return 1;
}
Reply
#4

oh come on some one help plz
Reply
#5

It's a dialog as I see I got a problem like that, you must open your server.cfg and place the filterscript where the Dialog is in as the first after filterscript, just like this:
Код:
filterscripts fightstylemenu accountsystem housesystem
and not:
Код:
filterscripts accountsystem housesystem fightstylemenu
(fightstylemenu is here your filterscript)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)