SA-MP Forums Archive
[FilterScript] Teleport menu with teleports added - 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Teleport menu with teleports added (/showthread.php?tid=250248)

Pages: 1 2


Re: Teleport menu with teleports added - [A]ndrei - 15.06.2012

am i allowed to post more tele's in that menu


Re: Teleport menu with teleports added - xMaGmOtAnEtHx - 15.08.2012

AMAZING THIS IS WHAT I NEED


Re : Teleport menu with teleports added - AgungP - 06.08.2013

I edit it but I have a problem

"error 030: compound statement not closed at the end of file (started at line 25)"


this my script


if(dialogid == DIALOGID+5) // Stunt
{
if(response)
{
if(listitem == 0) // Mount Chilliad Stunt
{
SetPlayerPos(playerid, -2322.072265, -1651.324707, 483.420562);
SetPlayerFacingAngle(playerid, 221.8533);
SetCameraBehindPlayer(playerid);
SendClientMessage(playerid, 0x00FFFFAA, "You've been teleported to Mount Chilliad Stunt.");
}
if(listitem == 1) // Back
{
ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "Teleport Categories", "Los Santos\nSan Fierro\nLas Venturas\nOther", "Select", "Cancel");
}
return 1;
}
return 0;
}


or



if(dialogid == DIALOGID) // Teleport Dialog
{
if(response)
{
if(listitem == 0) // Los Santos
{
ShowPlayerDialog(playerid, DIALOGID+1, DIALOG_STYLE_LIST, "Los Santos", "Los Santos Airport \nSanta Marina \nGrove Street \nCity Hall \nPolice Station \nBank \nOcean Docks \nCrazybob's House \nJefferson Motel \nAbove Los Santos \nBack", "Select", "Cancel");
}
if(listitem == 1) // San Fierro
{
ShowPlayerDialog(playerid, DIALOGID+2, DIALOG_STYLE_LIST, "San Fierro", "San Fierro Airport \nCity Hall \nBank \nOcean Flats \nMissionary Hill \nJizzys Pleasure Dome \nPolice Station \nBack", "Select", "Cancel");
}
if(listitem == 2) // Las Venturas
{
ShowPlayerDialog(playerid, DIALOGID+3, DIALOG_STYLE_LIST, "Las Venturas", "Las Venturas Airport \nArea69 \nCity Hall \nPolice Station \nCaligulas Casino \nStarfish Casino \nBank \nPrickle Pine \nBandit Stadium \nLast Dime Motel \nAbove Las Venturas \nBack", "Select", "Cancel");
}
if(listitem == 3) // Park Our
{
ShowPlayerDialog(playerid, DIALOGID+4, DIALOG_STYLE_LIST, "Park Our", "Park Our\nPark Our 2\nBack", "Select", "Cancel");
}
if(listitem == 4) // Stunt
{
ShowPlayerDialog(playerid, DIALOGID+5, DIALOG_STYLE_LIST, "Stunt", "Mount Chilliad Stunt\nBack", "Select", "Cancel");
}
}
return 1;


Where my problem?
Sorry I'm newbie


Re: Teleport menu with teleports added - JusstinRoller - 07.08.2013

You missing { under return1;

And next time use
pawn Code:
your code



Re: Teleport menu with teleports added - PT - 07.08.2013

simple, but good


Re: Teleport menu with teleports added - Team_PRO - 30.09.2013

nice


Re : Teleport menu with teleports added - 1Geek - 14.02.2014

Man do you have copied the LuxAdmin teleport (/lmenu) ?


Re: Teleport menu with teleports added - ThePlayer - 25.04.2014

The Script is not working


Re: Teleport menu with teleports added - UIF - 06.01.2015

Thanks Dude I Was Need It!


Re: Teleport menu with teleports added - Glossy42O - 06.01.2015

u had to bump this thread?


Re: Teleport menu with teleports added - Subritzky - 15.04.2015

Why is it that when I click Others in the teleport menu it closes connection?


Re: Teleport menu with teleports added - shadowstorm - 15.04.2015

Max FS used in server is 16 so a suggestion for further updates to add more teleports or more option in tp menu brcause this is simple but waste of a slot Anyway good job and keep it up


Re: Teleport menu with teleports added - Pi5tol - 15.04.2015

It's fine, I like it.


Re: Teleport menu with teleports added - Rohit12 - 08.08.2017

it disables all other cmds than /teleport ...someone fix it or help ?


Re: Teleport menu with teleports added - Madddy - 16.12.2017

Very Nice I was Looking For A Tele Filterscript and this one is Good.