Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Maded by KINGINA
- //Dont' remove this lines:
- /*
- KINGINA MADE THIS, MY SERVER: 188.138.121.84:26777 --JOIN AND ASK ME EVERYTHING ABOUT THIS FS
- DON'T REMOVE MY CREDITS AND DON'T REMAKE IT
- FS MADED IN 2 DAYS, LOOK ON SAMP FORUM FOR UPDATE
- */
- //-------------------START--------------------------
- #define FILTERSCRIPT
- #define TEST_MENU_ITEMS 6
- #include <a_samp>
- #include <streamer>
- #if defined FILTERSCRIPT
- public OnFilterScriptInit()
- {
- print("\n--------------------------------------");
- print(" Airport Teleports By KINGINA loaded!!!");
- print("--------------------------------------\n");
- InitTestMenu();
- return 1;
- }
- public OnFilterScriptExit()
- {
- return 1;
- }
- #else
- main()
- {
- print("\n----------------------------------");
- print(" Blank Gamemode by your name here");
- print("----------------------------------\n");
- }
- #endif
- new Menu:teleport;
- InitTestMenu()
- {
- teleport = CreateMenu("Destinations", 1, 200.0, 150.0, 200.0, 200.0);
- AddMenuItem(teleport, 0, "LS - Los Santos");
- AddMenuItem(teleport, 0, "LS2 - Los Santos 2nd port");
- AddMenuItem(teleport, 0, "SF - San Fierro");
- AddMenuItem(teleport, 0, "LV - Las Venturas");
- AddMenuItem(teleport, 0, "VM - Verdant Meadows");
- }
- public OnPlayerSelectedMenuRow(playerid, row)
- {
- new Menu:PlayerMenu = GetPlayerMenu(playerid);
- if(PlayerMenu == teleport) {
- {
- if (GetPlayerWantedLevel(playerid) < 3)
- {
- switch(row)
- {
- case 0: //LS
- {
- SetPlayerPos(playerid, 1686.0919,-2237.9663,13.5469);
- SetPlayerInterior(playerid, 0);
- SendClientMessage(playerid, 0xFFFFFF00, "Welcome to Los Santons");
- }
- case 1: //LS2
- {
- SetPlayerPos(playerid, 1685.3137,-2240.5005,13.5469);
- SetPlayerInterior(playerid, 0);
- SendClientMessage(playerid, 0xFFFFFF00, "Welcome to Los Santons");
- }
- case 2: //SF
- {
- SetPlayerPos(playerid, -1421.5995,-287.7984,14.1484);
- SetPlayerInterior(playerid, 0);
- SendClientMessage(playerid, 0xFFFFFF00, "Welcome to San Fierro");
- }
- case 3: //Lv
- {
- SetPlayerPos(playerid, 1673.1757,1447.8678,10.7862);
- SetPlayerInterior(playerid, 0);
- SendClientMessage(playerid, 0xFFFFFF00, "Welcome to Las Venturas");
- }
- case 4: //VM
- {
- SetPlayerPos(playerid, 411.3475,2538.9668,16.5498);
- SetPlayerInterior(playerid, 0);
- SendClientMessage(playerid, 0xFFFFFF00, "Welcome to Verdant Meadows");
- }
- }
- }
- else
- SendClientMessage(playerid, 0xFFFFFFFF, "{FF0000}You cannot travel when you're wanted");
- }
- }
- }
- public OnGameModeInit()
- {
- //SF
- CreateDynamicObject(1239,-1422.4640,-289.6980,13.8041,0,0,0);
- Create3DTextLabel("{ff0000}Type /Info1 To see all possible destinations", 0x008080FF,-1422.4640,-289.6980,13.8041,16.0, 0);
- Create3DTextLabel("{ff0000}[INFO]", 0x008080FF,-1422.4640,-289.6980,14.1041,18.0, 0);
- //SF
- //LV
- CreateDynamicObject(1239, 1673.1757,1447.8678,10.7862,0,0,0);
- Create3DTextLabel("{ff0000}Type /Info2 To see all possible destinations", 0x008080FF,1673.1757,1447.8678,10.7862,16.0, 0);
- Create3DTextLabel("{ff0000}[INFO]", 0x008080FF,1673.1757,1447.8678,11.0862,18.0, 0);
- //LV
- //VM
- CreateDynamicObject(1239, 411.3475,2538.9668,16.5498,0,0,0);
- Create3DTextLabel("{ff0000}Type /Info5 To see all possible destinations", 0x008080FF,411.3475,2538.9668,16.5498,16.0, 0);
- Create3DTextLabel("{ff0000}[INFO]", 0x008080FF,411.3475,2538.9668,16.8498,18.0, 0);
- //VM
- //LS2
- CreateDynamicObject(1239, 1685.3137,-2240.5005,13.5469,0,0,0);
- Create3DTextLabel("{ff0000}Type /Info3 To see all possible destinations", 0x008080FF,1685.3137,-2240.5005,13.5469,16.0, 0);
- Create3DTextLabel("{ff0000}[INFO]", 0x008080FF,1685.3137,-2240.5005,13.8469,18.0, 0);
- //LS2
- //LS
- CreateDynamicObject(1239, 1685.3064,-2335.4978,13.5469,0,0,0);
- Create3DTextLabel("{ff0000}Type /Info4 To see all possible destinations", 0x008080FF,1685.3064,-2335.4978,13.5469,16.0, 0);
- Create3DTextLabel("{ff0000}[INFO]", 0x008080FF,1685.3064,-2335.4978,13.8469,18.0, 0);
- //LS
- return 1;
- }
- public OnGameModeExit()
- {
- return 1;
- }
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- if(strcmp(cmdtext,"/info1",true) == 0)
- {
- if(IsPlayerInRangeOfPoint(playerid,10.0,-1422.4640,-289.6980,13.8041))
- {
- ShowMenuForPlayer(teleport, playerid);
- }
- return 1;
- }
- if(strcmp(cmdtext,"/info2",true) == 0)
- {
- if(IsPlayerInRangeOfPoint(playerid,10.0,1675.6565,1449.1937,10.7868))
- {
- ShowMenuForPlayer(teleport, playerid);
- }
- return 1;
- }
- if(strcmp(cmdtext,"/info3",true) == 0)
- {
- if(IsPlayerInRangeOfPoint(playerid,10.0,1685.3137,-2240.5005,13.5469))
- {
- ShowMenuForPlayer(teleport, playerid);
- }
- return 1;
- }
- if(strcmp(cmdtext,"/info4",true) == 0)
- {
- if(IsPlayerInRangeOfPoint(playerid,10.0,1685.3064,-2335.4978,13.5469))
- {
- ShowMenuForPlayer(teleport, playerid);
- }
- return 1;
- }
- if(strcmp(cmdtext,"/info5",true) == 0)
- {
- if(IsPlayerInRangeOfPoint(playerid,10.0,411.3475,2538.9668,16.5498))
- {
- ShowMenuForPlayer(teleport, playerid);
- }
- return 1;
- }
- return 0;
- }
- // !!!!KINGINA MADED!!!! :)
- //-------------------END--------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement