SA-MP Forums Archive
[HELP] A little help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [HELP] A little help (/showthread.php?tid=142832)



[HELP] A little help - AK47317 - 20.04.2010

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





Re: [HELP] A little help - Adil - 20.04.2010

Show those lines which you doubt are incorrect ?


Re: [HELP] A little help - AK47317 - 21.04.2010

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;
}



Re: [HELP] A little help - AK47317 - 22.04.2010

oh come on some one help plz


Re: [HELP] A little help - CAR - 22.04.2010

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)